Boost logo

Boost :

From: Jared McIntyre (jmcintyre_at_[hidden])
Date: 2007-04-25 11:26:42


Philippe Vaucher <philippe.vaucher <at> gmail.com> writes:

>
> Check out boost::typeof, otherwise you have typeid(T).name() or gcc's typeof
> extension.
>
> Philippe

I wasn't aware of the name function in typeid, but I figured there had to be
something out there already. Is the format of the output string specified in the
standard? i.e can I trust that it will be the same from compiler to compiler in
order to use it in cross-platform code?

Jared


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