
16 May
2007
16 May
'07
10:21 a.m.
16.05.07, 13:28, Phil Endecott <spam_from_boost_dev@chezphil.org>:
Q: What does lexical_cast<string> of an int8_t or uint8_t not do what I expect? A: As above, note that int8_t and uint8_t are actually chars and are formatted as such. To avoid this, cast to an integer type first: lexical_cast<string>(static_cast<int>(n)). Looks good. I'll add it.
Following are some minor edits to your text: Q: Why does lexical_cast<int8_t>("127") throw bad_lexical_cast? commitee --> committee greate --> great Thanks. -- Alexander Nasonov