Subject: Re: [boost] [Boost.DLL] Formal Review request
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2014-10-03 05:44:13
On 02/10/14 14:45, Antony Polukhin wrote:
> Yes, you can. Though C++ name will be mangled and some `void
> boost::foo(std::sting)` will change to something like `N5boostN3foosE`.
> Importing function by `N5boostN3foosE` name does not looks user friendly,
> especially assuming the fact that different compilers have different
> mangling scheme.
> The alias name - is a not mangled name for C++ symbol.
Your library could simply be extended to support automatic
mangling/demangling for whatever platform you're running it on.
All compilers provide functions for demangling (__cxa_demangle,
UnDecorateSymbolName/__unDName), however I'm not aware of functions
being provided for mangling.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk