Boost logo

Boost :

Subject: [boost] identification versus demangle
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-07-10 14:17:08


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" [1] (actually the public function is peacefully called simplify_typename) or to use Joel Falcou's Identification library [2].

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?

Thanks,
Gordon

[1] https://svn.boost.org/trac/boost/ticket/4876
[2] https://github.com/boost-vault/Miscellaneous/blob/master/identification-v0.3.zip


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk