From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2005-10-21 06:50:54
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Alexander Nasonov
> > 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. There is no contradiction
> with 2.13.1/2 rules.
> I don't like BOOST_SUFFIXED_BINARY_LITERAL much, though. Is
> it possible to get rid of it and to use BOOST_BINARY_LITERAL(
> 0000 0110U ) instead?
It is possible, but requires quite a few more macros to implement (approximately
double). How about:
(etcetera, if we need/want long long support)
All of these are easy to implement. BTW, is there any reason why we couldn't go
with just 'BOOST_BINARY'?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk