
21 Oct
2005
21 Oct
'05
1:07 p.m.
"Paul Mensonides" <pmenso57@comcast.net> writes:
boost-bounces@lists.boost.org wrote:
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.
I'm also more inclined towards the macro version (with Paul's suggested name change), although if we got some of the MPL interoperability things that Andy Little mentioned, and of course the absolutely _essential_ documentation, I might be inclined the other way.
BTW, is there any reason why we couldn't go with just 'BOOST_BINARY'?
-- Dave Abrahams Boost Consulting www.boost-consulting.com