Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62355 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-05-31 15:47:43


Author: bbartman
Date: 2010-05-31 15:47:42 EDT (Mon, 31 May 2010)
New Revision: 62355
URL: http://svn.boost.org/trac/boost/changeset/62355

Log:
Fixed name of types to make it more clear what they are
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bit_mask_group.hpp 2010-05-31 15:47:42 EDT (Mon, 31 May 2010)
@@ -143,8 +143,8 @@
     /** Vector and map types used to store the information about named and
      * unnamed types.
      */
- typedef typename _impl_type::named_type_map named_type_map;
- typedef typename _impl_type::type_vector type_vector;
+ typedef typename _impl_type::named_type_map named_mask_map;
+ typedef typename _impl_type::type_vector mask_vector;
 
 
 
@@ -155,13 +155,13 @@
     //@{
     template <typename Name>
     struct get_by_name {
- typedef typename mpl::at<named_type_map, Name>::type type;
+ typedef typename mpl::at<named_mask_map, Name>::type type;
     };
 
     template <unsigned int Index>
     struct get_by_index {
         typedef typename mpl::at<
- type_vector,
+ mask_vector,
             integral_constant< unsigned int,Index>
>::type type;
     };
@@ -178,19 +178,19 @@
      */
     //@{
     template <typename Name>
- inline typename mpl::at<named_type_map, Name>::type::value_type
+ inline typename mpl::at<named_mask_map, Name>::type::value_type
     get() {
- return mpl::at<named_type_map, Name>::type::value;
+ return mpl::at<named_mask_map, Name>::type::value;
     }
 
     template <unsigned int Index>
     inline typename mpl::at<
- type_vector,
+ mask_vector,
         integral_constant<unsigned int, Index>
>::type::value_type
     get() {
         return mpl::at<
- type_vector,
+ mask_vector,
             integral_constant<unsigned int, Index>
>::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