|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63746 - in sandbox/SOC/2010/bit_masks/lib/integer/test: . bft_testing bft_testing/compile_fail bft_testing/compile_pass
From: bbartmanboost_at_[hidden]
Date: 2010-07-08 09:19:10
Author: bbartman
Date: 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
New Revision: 63746
URL: http://svn.boost.org/trac/boost/changeset/63746
Log:
working on switching the bitfield_types into their own namespace
Text files modified:
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/align_test.cpp | 2 +-
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/boost_endian_integration_test.cpp | 6 +++++-
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/bft_storage_width_acceded.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/member_precond_width_zero.cpp | 2 +-
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/member_width_to_large.cpp | 2 +-
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/one_name_two_members.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/set_storage_more_then_once.cpp | 2 +-
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_pass/bft_member_max_out.cpp | 2 ++
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_pass/fusion_includes.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/deduced_storage_type_long_long_test.cpp | 2 +-
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/deduced_storage_type_test.cpp | 2 +-
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/filler_test.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/flag_test.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/fusion_integration_testing.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/fusion_iterator_testing.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/get_interface_test.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/make_bft_testing.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/name_accessor_test.cpp | 2 ++
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/reference_builder_test.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/template_expansion_marco_test.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/variadic_sequence_testing.cpp | 1 +
sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_tuple_test.cpp | 1 +
22 files changed, 28 insertions(+), 7 deletions(-)
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-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -9,7 +9,7 @@
using namespace boost;
-
+using namespace boost::bitfields;
struct red;
struct green;
struct pink;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/boost_endian_integration_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/boost_endian_integration_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/boost_endian_integration_test.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -16,13 +16,17 @@
struct blue;
using namespace boost;
using namespace boost::integer;
+using namespace boost::bitfields;
+
+
+
typedef bitfield_tuple<
storage< big32_t >,
member<unsigned char, red, 5>,
member<unsigned char, green, 6>,
member<unsigned char, blue, 5>
-> rgb565_t;
+> rgb565_t;
int main() {
{
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/bft_storage_width_acceded.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/bft_storage_width_acceded.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/bft_storage_width_acceded.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -7,6 +7,7 @@
#include <boost/integer/bitfield_tuple.hpp>
using namespace boost;
+using namespace boost::bitfields;
struct red { };
// Fails because the members exced the number of bits inside of
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/member_precond_width_zero.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/member_precond_width_zero.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/member_precond_width_zero.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -7,7 +7,7 @@
#include <boost/integer/bitfield_tuple.hpp>
using namespace boost;
-
+using namespace boost::bitfields;
// this fails when the assert for the precondition within member restricting
// it to be something other then 0 fails.
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/member_width_to_large.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/member_width_to_large.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/member_width_to_large.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -7,7 +7,7 @@
#include <boost/integer/bitfield_tuple.hpp>
using namespace boost;
-
+using namespace boost::bitfields;
// this fails because the type in side member is to large for the return type.
struct pink;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/one_name_two_members.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/one_name_two_members.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/one_name_two_members.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -7,6 +7,7 @@
#include <boost/integer/bitfield_tuple.hpp>
using namespace boost;
+using namespace boost::bitfields;
struct red;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/set_storage_more_then_once.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/set_storage_more_then_once.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/set_storage_more_then_once.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -7,7 +7,7 @@
#include <boost/integer/bitfield_tuple.hpp>
using namespace boost;
-
+using namespace boost::bitfields;
struct red { };
// Fails because storage is specified twice.
typedef bitfield_tuple<storage<int>, storage<unsigned int>, member<int,red,3> > bft;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_pass/bft_member_max_out.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_pass/bft_member_max_out.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_pass/bft_member_max_out.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -7,6 +7,8 @@
#include <boost/integer/bitfield_tuple.hpp>
using namespace boost;
+using namespace boost::bitfields;
+
struct red { };
struct pink;
// this needs to pass because its a basic declaration and I should asume people
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_pass/fusion_includes.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_pass/fusion_includes.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_pass/fusion_includes.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -7,6 +7,7 @@
#include <boost/integer/bitfield_tuple.hpp>
using namespace boost;
+using namespace boost::bitfields;
// Testing to see if the include paths work correctly.
#include <boost/integer/details/bft/ext/bitfield_tuple_fusion_includes.hpp>
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/deduced_storage_type_long_long_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/deduced_storage_type_long_long_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/deduced_storage_type_long_long_test.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -9,7 +9,7 @@
using namespace boost;
-
+using namespace boost::bitfields;
struct red;
struct green;
struct pink;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/deduced_storage_type_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/deduced_storage_type_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/deduced_storage_type_test.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -10,7 +10,7 @@
using namespace boost;
-
+using namespace boost::bitfields;
struct red;
struct green;
struct pink;
Modified: 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/filler_test.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -9,6 +9,7 @@
using namespace boost;
+using namespace boost::bitfields;
struct red;
struct green;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/flag_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/flag_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/flag_test.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -9,6 +9,7 @@
using namespace boost;
+using namespace boost::bitfields;
struct red;
struct green;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/fusion_integration_testing.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/fusion_integration_testing.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/fusion_integration_testing.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -10,6 +10,7 @@
#include <boost/integer/details/fusion_ext_includes.hpp>
using namespace boost;
+using namespace boost::bitfields;
struct red;
struct green;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/fusion_iterator_testing.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/fusion_iterator_testing.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/fusion_iterator_testing.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -10,6 +10,7 @@
#include <boost/integer/details/fusion_ext_includes.hpp>
using namespace boost;
+using namespace boost::bitfields;
struct red;
struct green;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/get_interface_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/get_interface_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/get_interface_test.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -9,6 +9,7 @@
using namespace boost;
+using namespace boost::bitfields;
struct red;
struct green;
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-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -9,6 +9,7 @@
using namespace boost;
+using namespace boost::bitfields;
struct red;
struct green;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/name_accessor_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/name_accessor_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/name_accessor_test.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -9,6 +9,8 @@
#include <boost/integer/details/bft/name_lookup.hpp>
using namespace boost;
+using namespace boost::bitfields;
+
struct red;
struct green;
struct pink;
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-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -9,6 +9,7 @@
using namespace boost;
+using namespace boost::bitfields;
struct red;
struct green;
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/template_expansion_marco_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/template_expansion_marco_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/template_expansion_marco_test.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -11,6 +11,7 @@
#include <iostream>
using namespace boost;
+using namespace boost::bitfields;
using namespace std;
template <BOOST_MAKE_BFT_TEMPLATE_PARAMS()>
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/variadic_sequence_testing.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/variadic_sequence_testing.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/variadic_sequence_testing.cpp 2010-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -10,6 +10,7 @@
using namespace boost;
+using namespace boost::bitfields;
struct red;
struct green;
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-07-08 09:19:08 EDT (Thu, 08 Jul 2010)
@@ -10,6 +10,7 @@
#include <boost/mpl/end.hpp>
#include <boost/mpl/begin.hpp>
+using namespace boost::bitfields;
void ignore(...) {}
struct red { };
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