|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63361 - sandbox/SOC/2010/bit_masks/boost/integer/details/bft
From: bbartmanboost_at_[hidden]
Date: 2010-06-26 12:36:41
Author: bbartman
Date: 2010-06-26 12:36:40 EDT (Sat, 26 Jun 2010)
New Revision: 63361
URL: http://svn.boost.org/trac/boost/changeset/63361
Log:
caught an error within the code I just added and fixed my code so that it will behave properly under those circumstances.
Text files modified:
sandbox/SOC/2010/bit_masks/boost/integer/details/bft/deduce_storage.hpp | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bft/deduce_storage.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bft/deduce_storage.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bft/deduce_storage.hpp 2010-06-26 12:36:40 EDT (Sat, 26 Jun 2010)
@@ -18,8 +18,11 @@
*/
template <typename BitsUsed>
struct deduce_storage_type {
-
- BOOST_STATIC_ASSERT(( BitsUsed::value <= 64));
+ #ifndef BOOST_NO_INT64_T
+ BOOST_STATIC_ASSERT(( BitsUsed::value <= 64 ));
+ #else
+ BOOST_STATIC_ASSERT(( BitsUsed::value <= 32 ));
+ #endif
typedef typename mpl::if_<
mpl::less_equal< BitsUsed, mpl::size_t<8> >,
uint_least8_t,
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk