Boost logo

Boost :

Subject: [boost] [type_index] type names string cross-platformness
From: Damien Buhl (damien.buhl_at_[hidden])
Date: 2017-12-05 14:46:34


Dear Boost,

MSVC differs from GCC & Clang in the way it present the pretty_name of a
type_info within Type Index.

Indeed for the following type : struct why {};

Is presented as `struct why` while on GCC it is `why`.

Is there any reason why pretty_name wouldn't strip / add the information
from one of the compiler in order to reach a cross-plaftorm string name
of types ?

MSVC:http://rextester.com/QNMB58390 <http://rextester.com/QNMB58390>

GCC: http://coliru.stacked-crooked.com/a/1aa52003605d4936

Would such a patch to the library be possible & welcome ?
Best regards,

-- 
Damien Buhl
Software Developer
+33 6 77 43 10 05

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