[Interest] Retrieving the object info due to exception std::bad_alloc

Thiago Macieira thiago.macieira at intel.com
Wed Feb 28 18:03:27 CET 2018


On Tuesday, 27 February 2018 09:42:51 PST Ramakanth Kesireddy wrote:
> Please let me know if there any means to get the runtime object info like
> class name, method name(if possible line number) throwing the exception
> std::bad_alloc in catch block?

There isn't, not portably.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list