Boost logo

Boost :

From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-10-21 18:00:27


"David Abrahams"

>> 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 );
>
>
> Is there some rationale that describes how useful these libraries are
> somewhere?
>
Scott's library has HTML file with section on binary_int.
How to use Matt's version is described in
http://lists.boost.org/Archives/boost/2005/09/93007.php

> Are we running simultaneous reviews for two separate librareis?
>
People should pick which utility (if any) fits into Boost.

That there are two alternatives is lucky accident.

/Pavel


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