Boost logo

Boost :

From: Michael Marcin (mmarcin_at_[hidden])
Date: 2007-02-22 18:11:59


Hi, I'm working on a platform that has exceptions and STL but no
std::type_info (weird right?).
I want to use lexical_cast but I can't only because bad_lexical_cast uses
type_info.
I've modified my local copy with #ifdef HAS_RTTI around the 3 places
bad_lexical_cast is used to simply throw a bad_lexical_cast without the
source and target type_info members.

Is there a standard BOOST_HAS_TYPE_INFO or some other config macro I
can/should use for this?

Thanks,

Michael Marcin


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