Re: Moving C++ bindings in gmpxx.h into a namespace

2013-07-01 Thread Sam Varshavchik
Marc Glisse writes: On Sat, 29 Jun 2013, Sam Varshavchik wrote: Is there any interest in moving all the C++ bindings into their own namespace, say gnu::mp? Vaguely. Preferably at the same time as some other ABI-breaking changes. This is popular with many C++ dev libraries, like boost

Re: Moving C++ bindings in gmpxx.h into a namespace

2013-07-01 Thread Sam Varshavchik
Niels Möller writes: Sam Varshavchik mr...@courier-mta.com writes: Compatibility with existing code is trivial. What about binary compatibility? I imagine namespaces are involved in the symbol name mangling in some way? (I'm no C++ guy, so I don't have any strong opinion on whether

Moving C++ bindings in gmpxx.h into a namespace

2013-06-29 Thread Sam Varshavchik
Is there any interest in moving all the C++ bindings into their own namespace, say gnu::mp? This is popular with many C++ dev libraries, like boost, for example. There are several advantages with doing that; mainly reducing the risk of clashing with application's own symbols, or even with