Boost logo

Boost :

From: Matt Calabrese (rivorus_at_[hidden])
Date: 2005-10-13 21:35:38


I hate to reply to this, but I provided another version a while back as
well:

http://www.illegal-immigration.com/Riv/boost/binary_literal2.hpp

which works just like the above version only allows arbitrary groupings of
bits up to 8 per grouping, such as:

BOOST_BINARY_LITERAL( 10001110 1001 100 0001 )

This version is not extensively tested on many compilers, however, but
should be portable.

--
-Matt Calabrese

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk