
10 Jul
2011
10 Jul
'11
7:08 p.m.
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" [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?
Why not print things at compile time through a warning?