Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-10-20 20:10:03


Reviews of binary int utility are needed. The tool is very small (but
useful) and review should not take much of time. Both Scott Schurr and Matt
Calabrese put quite a lot of effort into their work.

Scott Schurr's version is in http://boost-consulting.com/vault/ (file
binary_int.zip).
It can be used as:
unsigned int regValue2 = binary_int<1000,1001,0011,0000>::value;

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 );

/Pavel


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