Boost logo

Boost :

Subject: Re: [boost] [lexical_cast] cast of int8_t
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-10-13 17:14:30


On Sat, Oct 13, 2012 at 10:35 PM, Jochen Wilhelmy
<jochen.wilhelmy_at_[hidden]> wrote:
> another question is why does lexical_cast treat int8_t and uint8_t like
> char? technically I see no reason for this as c++ has three types: char,
> signed char and unsigned char.

I might be wrong, but aren't there only two types, signed char and
unsigned char, with unqualified char being equivalent to one of them
(depending on platform)?

-- 
Olaf

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