From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-05-08 15:10:11


Dean Michael Berris wrote:
> I still think the
> semantics of `lexical_cast<int8_t>("127")` should allow for the
> conversion to happen -- either convert to a 'short int' then assign to
> a char, if that makes any sense.

There is no way to distinguish int8_t and char. They are both aliases to
the same type.
Welcome to the wonderful world of typedefs.