Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63242 - sandbox/SOC/2010/bit_masks/boost/integer
From: bbartmanboost_at_[hidden]
Date: 2010-06-22 12:02:31


Author: bbartman
Date: 2010-06-22 12:02:29 EDT (Tue, 22 Jun 2010)
New Revision: 63242
URL: http://svn.boost.org/trac/boost/changeset/63242

Log:
make the constructor over the storage_type explicit
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp | 13 +------------
   1 files changed, 1 insertions(+), 12 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple.hpp 2010-06-22 12:02:29 EDT (Tue, 22 Jun 2010)
@@ -452,22 +452,11 @@
         const_bitfield_ref();
     };
 
- /** Fusion Friends.
- * These are templates which are friended by bitfield_tuple.
- */
- //@{
- // friend struct ::boost::fusion::extension::at_impl<bitfield_tuple_tag>;
- // friend struct ::boost::fusion::extension::begin_impl<bitfield_tuple_tag>;
- // friend struct ::boost::fusion::extension::end_impl<bitfield_tuple_tag>;
- // template<typename T,std::size_t N>
- // friend struct ::boost::bitfield_tuple_iterator;
- //@}
-
     /** Value constructor.
      * This sets the initial value of the internal data to x.
      * Also functions as the default constructor.
      */
- bitfield_tuple(storage_type x = 0)
+ explicit bitfield_tuple(storage_type x = 0)
         :_data(x)
     { }
 


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