This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Strange behavoiur of ostringstream (tested on g++3.3.5/4.0.2)
- From: Jonathan Wakely <cow at compsoc dot man dot ac dot uk>
- To: Wladimir Mutel <mwg at mwg dot dp dot ua>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sat, 28 Jan 2006 10:22:52 +0000
- Subject: Re: Strange behavoiur of ostringstream (tested on g++3.3.5/4.0.2)
- References: <20060128091440.GA30250@mwg.dp.ua>
On Sat, Jan 28, 2006 at 11:14:40AM +0200, Wladimir Mutel wrote:
>
> So, dear people, I would appreciate if you clear my possible
> misconceptions about C++, refer me to the knowledgeable
> authority able to give final answer on my question, or propose
> a workaround that is portable and not specific to VC++.
Have you looked at boost::lexical_cast ?
http://boost.org/libs/conversion/lexical_cast.htm
jon