Boost logo

Boost :

Subject: Re: [boost] Formal Review Request: Boost.String.Convert
From: Michael Caisse (boost_at_[hidden])
Date: 2009-02-21 13:44:46


David Abrahams wrote:
>
> Hmm, how do I convert to a hex string?
>
>
>

Great question for both directions (to/from string). I hack
lexical_cast each release to add:

stream.setf( std::ios::fmtflags(), std::ios::basefield );

That gets me the from_string hex conversion which is what I need
most often.

-- 
----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com

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