Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64517 - sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector
From: bbartmanboost_at_[hidden]
Date: 2010-08-01 08:22:05


Author: bbartman
Date: 2010-08-01 08:22:04 EDT (Sun, 01 Aug 2010)
New Revision: 64517
URL: http://svn.boost.org/trac/boost/changeset/64517

Log:

adding documentation and another level of indirection to deal with the implementation of different memeber functison this will make testing a much simplier experience because the data structure will have fewer pointers of failure to deal with
Added:
   sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/bitfield_vector_memeber_impl.hpp (contents, props changed)
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/bitfield_vector_base.hpp | 12 ++++++++++++
   1 files changed, 12 insertions(+), 0 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/bitfield_vector_base.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/bitfield_vector_base.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/bitfield_vector_base.hpp 2010-08-01 08:22:04 EDT (Sun, 01 Aug 2010)
@@ -9,6 +9,18 @@
 
 namespace boost { namespace detail {
 
+/** bitfield_vector_base
+ * This a bitfield_vector's base class (if you can't tell by the name) and it
+ * is used for dealing directly with the allocator's memory allocation
+ * and is not responsible for the construction of any of the elements wihtin
+ * with in the bitfield_vector. This achieves 2 things 1) allows me to test
+ * the data structures interface with the allocator as a policy. 2) Allows
+ * for better exception handling.
+ *
+ * This is the base level of the data structure there are 2 or more layers
+ * on top of this class which are used for dealing with different aspects of
+ * of the data strutures responsiblities.
+ */
 template <typename T, typename Allocator>
 struct bitfield_vector_base {
     typedef T value_type;

Added: sandbox/SOC/2010/bit_masks/boost/integer/detail/bitfield_vector/bitfield_vector_memeber_impl.hpp
==============================================================================


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