Boost logo

Boost Users :

Subject: Re: [Boost-users] lexical_cast<unsigned char>: Compiler error
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2009-03-08 16:43:20


Hi!

On Sun, Mar 8, 2009 at 5:50 PM, Hansi <hansipet_at_[hidden]> wrote:

> Maybe it is hard to understand,but I don't need the character or wchar_t
> but for me the string represents a number...the number has nothing to do
> with the character but signed char and unsigned char is the only
> representation for 8bit numbers in c++...for that I don't cut anything if
> the number does not exceeds the limits of a 8bit number...

May be I don't get it. Just to be sure: Which type is produced by L"..."
macro? AFAIK const wchar_t[]. My question was: why to use L-macro and
produce multi-byte string if you require single byte string anyway?

Thanks,
Ovanes



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net