Re: [boost] [lexical cast] Performance improvements

20 Mar
2011
20 Mar
'11
7:46 p.m.
Just one quick question, does your code have the same behaviour as the existing Lexical Cast when casting out of bounds (int -> unsigned int, int -> short, unsigned int -> int)?
Chris
Yes. It has the same behaviour. For checking bounds it uses boost::numeric::conversion_traits from <boost/numeric/conversion/conversion_traits.hpp> Antony
5233
Age (days ago)
5233
Last active (days ago)
0 comments
1 participants
participants (1)
-
Antony Polukhin