Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62986 - in sandbox/SOC/2010/bit_masks: boost/integer/details lib/integer/test
From: bbartmanboost_at_[hidden]
Date: 2010-06-15 13:19:15


Author: bbartman
Date: 2010-06-15 13:19:14 EDT (Tue, 15 Jun 2010)
New Revision: 62986
URL: http://svn.boost.org/trac/boost/changeset/62986

Log:
removing optional base class support from bitfield_tuple
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/details/bitfield_tuple_impl.hpp | 2 --
   sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp | 29 -----------------------------
   2 files changed, 0 insertions(+), 31 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/details/bitfield_tuple_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/details/bitfield_tuple_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/details/bitfield_tuple_impl.hpp 2010-06-15 13:19:14 EDT (Tue, 15 Jun 2010)
@@ -23,8 +23,6 @@
 
 // implementation header files.
 #include <boost/integer/details/bft/bft_element.hpp>
-#include <boost/integer/details/bft/stack_allocation_policy.hpp>
-#include <boost/integer/details/bft/allocator_allocation_policy.hpp>
 #include <boost/integer/details/bft/arg_parse_impl.hpp>
 
 namespace boost { namespace details {

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp 2010-06-15 13:19:14 EDT (Tue, 15 Jun 2010)
@@ -50,35 +50,6 @@
 
     }
 
- // stack allocation policy for bitfield_tuple
- {
- // default constructor.
- details::stack_alloc_base_policy<int> sap_test_1;
- BOOST_ASSERT(( sap_test_1._data == 0));
-
- // value constructor
- details::stack_alloc_base_policy<int> sap_test_2( 2 );
- BOOST_ASSERT(( sap_test_2._data == 2));
-
- // copy constructor
- details::stack_alloc_base_policy<int> sap_test_3( sap_test_2 );
- BOOST_ASSERT(( sap_test_3._data == 2));
-
- // assignement.
- details::stack_alloc_base_policy<int> sap_test_4;
- sap_test_4 = sap_test_3;
- BOOST_ASSERT(( sap_test_4._data == 2));
- sap_test_4 = sap_test_1;
- BOOST_ASSERT(( sap_test_4._data == 0));
-
- // const test for get data
- test_get_data( sap_test_4, 0 );
-
- // non const test for get data
- BOOST_ASSERT(( sap_test_4.get_data() == 0));
-
- }
-
     // testing for parsing of aruments passed into template parameters.
     {
     


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