Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64756 - sandbox/SOC/2010/bit_masks/boost/integer/detail/bft
From: bbartmanboost_at_[hidden]
Date: 2010-08-12 09:59:03


Author: bbartman
Date: 2010-08-12 09:59:02 EDT (Thu, 12 Aug 2010)
New Revision: 64756
URL: http://svn.boost.org/trac/boost/changeset/64756

Log:
working on fixing an error for cygwin
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/arg_parsing_meta_functions.hpp | 4 +---
   1 files changed, 1 insertions(+), 3 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/arg_parsing_meta_functions.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/arg_parsing_meta_functions.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/arg_parsing_meta_functions.hpp 2010-08-12 09:59:02 EDT (Thu, 12 Aug 2010)
@@ -65,12 +65,10 @@
         Mask,
         bits_mask<
             typename IndexingMask::value_type,
- IndexingMask::offset - 1
+ IndexingMask::offset ? IndexingMask::offset - 1 : 1
>,
         ZeroCount + 1,
         bool((IndexingMask::value & Mask::value) == 0)
- // &&
- // (IndexingMask::offset >= 0)
           &&
         bool( ZeroCount < std::size_t(bit_width< typename Mask::value_type >::value))
>


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