I am in a in-path

Andrew Haley aph@redhat.com
Thu May 28 08:06:00 GMT 2015


On 28/05/15 00:15, Hotmail (ArbolOne) wrote:
> This creates another problem, what if the exception is std::mem_alloc, I 
> would ran out of memory, thus I wouldn't be able to create another object.

You could use placement new and a custom memory pool of exception
objects.

Andrew.



More information about the Gcc-help mailing list