Boost logo

Boost :

From: Tim Finer (tfiner_at_[hidden])
Date: 2002-04-03 17:55:35


Hello.

I made a small change to lexical_cast.hpp to work with other bases:

after:
std::stringstream interpreter;

add:
interpreter.unsetf( std::ios_base::dec );

This makes all streams automatically detect base, instead of assuming
decimal.
Regards,
Tim


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