Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62267 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-05-27 12:31:41


Author: bbartman
Date: 2010-05-27 12:31:40 EDT (Thu, 27 May 2010)
New Revision: 62267
URL: http://svn.boost.org/trac/boost/changeset/62267

Log:
Fixing up something I missed while refactoring
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bit_mask.hpp | 5 +----
   1 files changed, 1 insertions(+), 4 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/bit_mask.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bit_mask.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bit_mask.hpp 2010-05-27 12:31:40 EDT (Thu, 27 May 2010)
@@ -32,7 +32,7 @@
  */
 template <typename T, unsigned int Offset, unsigned int Width = 1 >
 struct bit_mask
- :integral_constant<T, (low_bits<T,Width>::value << Offset) >
+ :integral_mask<T, (low_bits<T,Width>::value << Offset) >
 {
     // precondition 1.
     BOOST_STATIC_ASSERT(( (Offset + Width) < ( bit_width<T>::value - 1) ));
@@ -46,9 +46,6 @@
 
     BOOST_STATIC_CONSTANT(unsigned int, width = Width);
 
- operator T() {
- return type::value;
- }
 };
 
 } // namespace boost


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