Boost logo

Boost :

Subject: Re: [boost] Formal Review Request: Boost.String.Convert
From: Vladimir Batov (batov_at_[hidden])
Date: 2009-02-21 15:13:16


> Hmm, how do I convert to a hex string?

Dave,

I am sorry I missed that question.

int i = convert_to<int>(str) >> std::hex;
string s = convert_to<string>(i) >> std::hex;

V.


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