
"Pavel Vozenilek" <pavel_vozenilek@hotmail.com> writes:
"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
This is a question about usefulness, not about "how to use."
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.
I don't think either of your replies actually answers the questions I was asking. Care to try again? -- Dave Abrahams Boost Consulting www.boost-consulting.com