Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64238 - sandbox/SOC/2010/bit_masks/boost/integer/detail/bft
From: bbartmanboost_at_[hidden]
Date: 2010-07-21 16:24:06


Author: bbartman
Date: 2010-07-21 16:24:06 EDT (Wed, 21 Jul 2010)
New Revision: 64238
URL: http://svn.boost.org/trac/boost/changeset/64238

Log:
caught bug and fixed it
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/pointer_parsing_meta_functions.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/pointer_parsing_meta_functions.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/pointer_parsing_meta_functions.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/pointer_parsing_meta_functions.hpp 2010-07-21 16:24:06 EDT (Wed, 21 Jul 2010)
@@ -22,7 +22,7 @@
 template <typename T>
 struct get_mask_type {
     typedef typename mpl::if_c<
- bit_width<std::size_t>::value < bit_width<T*>::value,
+ (4 < sizeof(T*)),
         uint64_t,
         uint32_t
>::type type;


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