
25 Feb
2009
25 Feb
'09
2:02 p.m.
boost-bounces@lists.boost.org wrote:
Now I am not so sure. In isolation it looks good:
int j = convert_to<int>(s) | 5;
What happens when we start mixing with
int j = convert_to<int>(s) | 5 >> std::hex; int j = convert_to<int>(s) | 5 >> boost::dothow >> std::hex; or even int j = convert_to<int>(s) >> boost::dothow >> std::hex | 5;
To add to the "I am not sure" side: What if I want to perform a bitwise-or on the result of convert_to<int>?