
22 Oct
2005
22 Oct
'05
9:12 a.m.
Alexander Nasonov <alnsn-boost <at> yandex.ru> writes:
Pavel Vozenilek <pavel_vozenilek <at> hotmail.com> writes:
Matt Calabrese's version is in http://www.illegal-immigration.com/Riv/boost/binary_literal2.hpp. It can be used as: int x = BOOST_BINARY_LITERAL( 101 0111 1010 0110 );
This version looks better to me. There is no contradiction with 2.13.1/2 rules. I don't like BOOST_SUFFIXED_BINARY_LITERAL much, though. Is it possible to get rid of it and to use BOOST_BINARY_LITERAL( 0000 0110U ) instead?
Sorry for not being clear about Matt Calabrese's version. I vote to accept it into boost. -- Alexander Nasonov