Subject: Re: [boost] identification versus demangle
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-07-10 15:08:44
On 07/10/2011 08:17 PM, Gordon Woodhull wrote:
> Hi all,
> I want to print and visualize MPL.Graph (and thus MSM) metadata.
> I'm debating whether to help "Make boost::units::detail::demangle an official utility function"  (actually the public function is peacefully called simplify_typename) or to use Joel Falcou's Identification library .
> It would be annoying to users to have to register every type in their graph/state machine, so I guess I'm wondering if demangle(typeid(T).typename()) is impossible on a lot of compilers.
> Anyone know this?
Why not print things at compile time through a warning?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk