_mp_alloc vs ALLOC

Marc Glisse marc.glisse at inria.fr
Mon Jun 4 23:08:17 CEST 2012

On Mon, 4 Jun 2012, Niels Möller wrote:

> (but I'm not sure I'd trust the automatic stack unwinding with C++
> exceptions either...).

Why not?

It does require rewriting a few things in a more C++ way, so cleanup is 
done by a destructor, but at least all the places where we use macros can 
be handled as one. The others would be a bit fastidious but not that hard.

Or don't you trust compilers to work?

Marc Glisse

More information about the gmp-devel mailing list