Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64387 - in sandbox/SOC/2010/bit_masks: boost/integer/bitfield_tuple boost/integer/detail/bft lib/integer/test lib/integer/test/bft_testing
From: bbartmanboost_at_[hidden]
Date: 2010-07-27 11:17:15


Author: bbartman
Date: 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
New Revision: 64387
URL: http://svn.boost.org/trac/boost/changeset/64387

Log:
renamming padding to filler
Added:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/padding.hpp
      - copied, changed from r64385, /sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/filler.hpp
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/padding_test.cpp
      - copied, changed from r64385, /sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/filler_test.cpp
Removed:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/filler.hpp
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/filler_test.cpp
Text files modified:
   sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/padding.hpp | 6 +++---
   sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/arg_parse_impl.hpp | 8 ++++----
   sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2 | 2 +-
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/align_test.cpp | 2 +-
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/make_bft_testing.cpp | 2 +-
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/padding_test.cpp | 2 +-
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/reference_builder_test.cpp | 2 +-
   7 files changed, 12 insertions(+), 12 deletions(-)

Deleted: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/filler.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/filler.hpp 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
+++ (empty file)
@@ -1,21 +0,0 @@
-// Copyright 2010 Brian Bartman.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-
-
-#ifndef BOOST_BITFIELD_TUPLE_FILLER_HPP
-#define BOOST_BITFIELD_TUPLE_FILLER_HPP
-#include <cstddef>
-
-namespace boost {
-namespace bitfields {
-/** Template is used to specify a size or ammound of bits which is
- * not to be used but instead to be filled with padding or unused bits.
- */
-template < std::size_t N>
-struct filler;
-
-}} // end boost::bitfields
-
-#endif

Copied: sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/padding.hpp (from r64385, /sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/filler.hpp)
==============================================================================
--- /sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/filler.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/bitfield_tuple/padding.hpp 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
@@ -4,8 +4,8 @@
 // http://www.boost.org/LICENSE_1_0.txt)
 
 
-#ifndef BOOST_BITFIELD_TUPLE_FILLER_HPP
-#define BOOST_BITFIELD_TUPLE_FILLER_HPP
+#ifndef BOOST_BITFIELD_TUPLE_PADDING_HPP
+#define BOOST_BITFIELD_TUPLE_PADDING_HPP
 #include <cstddef>
 
 namespace boost {
@@ -14,7 +14,7 @@
  * not to be used but instead to be filled with padding or unused bits.
  */
 template < std::size_t N>
-struct filler;
+struct padding;
 
 }} // end boost::bitfields
 

Modified: sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/arg_parse_impl.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/arg_parse_impl.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/arg_parse_impl.hpp 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
@@ -22,7 +22,7 @@
 #include <boost/integer/bitfield_tuple/storage.hpp>
 #include <boost/integer/bitfield_tuple/member.hpp>
 #include <boost/integer/bitfield_tuple/flag.hpp>
-#include <boost/integer/bitfield_tuple/filler.hpp>
+#include <boost/integer/bitfield_tuple/padding.hpp>
 #include <boost/integer/bitfield_tuple/align.hpp>
 #include <boost/integer/bitfield_tuple/custom.hpp>
 #include <boost/integer/bitfield_tuple/pointer.hpp>
@@ -206,21 +206,21 @@
>
 { };
 
-/* Specialization for filler. */
+/* Specialization for padding. */
 template < std::size_t PaddingBits,
             typename StoragePolicy,
             typename FieldVector,
             typename Offset
>
 struct bft_arg_parse_impl <
- bitfields::filler<
+ bitfields::padding<
         PaddingBits
>,
     StoragePolicy,
     FieldVector,
     Offset >
 {
- typedef bitfields::filler<PaddingBits> param;
+ typedef bitfields::padding<PaddingBits> param;
     typedef FieldVector field_vector;
     typedef StoragePolicy storage_policy;
     typedef mpl::size_t<PaddingBits + Offset::value > offset;

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2 (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
@@ -42,7 +42,7 @@
         [ run bft_testing/fusion_iterator_testing.cpp ]
         [ run bft_testing/fusion_integration_testing.cpp ]
         [ run bft_testing/flag_test.cpp ]
- [ run bft_testing/filler_test.cpp ]
+ [ run bft_testing/padding_test.cpp ]
         [ run bft_testing/template_expansion_marco_test.cpp ]
         [ run bft_testing/variadic_sequence_testing.cpp ]
         [ run bft_testing/align_test.cpp ]

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/align_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/align_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/align_test.cpp 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
@@ -24,7 +24,7 @@
             member<char,red,4>,
             member<unsigned char, green,5>,
             storage<std::size_t>,
- filler<3>,
+ padding<3>,
             member<int, salmon, 16>,
             flag<blue>,
             bitfields::align<32>

Deleted: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/filler_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/filler_test.cpp 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
+++ (empty file)
@@ -1,41 +0,0 @@
-// Copyright 2010 Brian Bartman.
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-
-
-#include <boost/integer/bitfield_tuple.hpp>
-#include <boost/assert.hpp>
-
-
-using namespace boost;
-using namespace boost::bitfields;
-
-struct red;
-struct green;
-struct pink;
-struct blue;
-struct salmon;
-
-typedef bitfield_tuple<
- member<char,red,4>,
- member<unsigned char, green,5>,
- storage<std::size_t>,
- filler<3>,
- member<int, salmon, 16>,
- flag<blue>
-> test_tuple;
-
-
-int main() {
-
- int temp = mpl::at_c<test_tuple::members, 2>::type::offset::value -
- (mpl::at_c<test_tuple::members, 1>::type::offset::value
- +
- mpl::at_c<test_tuple::members, 1>::type::field_width::value);
-
- BOOST_ASSERT(( temp == 3 ));
- return 0;
-}
-
-

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/make_bft_testing.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/make_bft_testing.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/make_bft_testing.cpp 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
@@ -21,7 +21,7 @@
     member<char,red,4>,
     member<unsigned char, green,5>,
     storage<std::size_t>,
- filler<3>,
+ padding<3>,
     member<int, salmon, 16>,
     flag<blue>
> test_tuple;

Copied: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/padding_test.cpp (from r64385, /sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/filler_test.cpp)
==============================================================================
--- /sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/filler_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/padding_test.cpp 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
@@ -21,7 +21,7 @@
     member<char,red,4>,
     member<unsigned char, green,5>,
     storage<std::size_t>,
- filler<3>,
+ padding<3>,
     member<int, salmon, 16>,
     flag<blue>
> test_tuple;

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/reference_builder_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/reference_builder_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/reference_builder_test.cpp 2010-07-27 11:17:14 EDT (Tue, 27 Jul 2010)
@@ -20,7 +20,7 @@
     member<char,red,4>,
     member<unsigned char, green,5>,
     storage<std::size_t>,
- filler<3>,
+ padding<3>,
     member<int, salmon, 16>,
     flag<blue>,
     align<32>


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