Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64450 - in sandbox/SOC/2010/bit_masks: . lib/integer/test lib/integer/test/bft_testing/compile_fail
From: bbartmanboost_at_[hidden]
Date: 2010-07-29 13:16:56


Author: bbartman
Date: 2010-07-29 13:16:55 EDT (Thu, 29 Jul 2010)
New Revision: 64450
URL: http://svn.boost.org/trac/boost/changeset/64450

Log:
added a compile failure test for another static_assertion
Text files modified:
   sandbox/SOC/2010/bit_masks/lib/integer/test/Jamfile.v2 | 1 +
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.cpp | 2 +-
   sandbox/SOC/2010/bit_masks/notes.txt | 2 +-
   3 files changed, 3 insertions(+), 2 deletions(-)

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-29 13:16:55 EDT (Thu, 29 Jul 2010)
@@ -35,6 +35,7 @@
         [ compile-fail bft_testing/compile_fail/set_storage_more_then_once.cpp ]
         [ compile-fail bft_testing/compile_fail/one_name_two_members.cpp ]
         [ compile-fail bft_testing/compile_fail/pointer_member_with_zero_mask.cpp ]
+ [ compile-fail bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.cpp ]
         [ compile bft_testing/compile_pass/bft_member_max_out.cpp ]
         [ run bft_testing/bitfield_tuple_test.cpp ]
         [ run bft_testing/name_accessor_test.cpp ]

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.cpp 2010-07-29 13:16:55 EDT (Thu, 29 Jul 2010)
@@ -14,7 +14,7 @@
 // fails because the mask isn't the same size as the pointer.
 typedef bitfield_tuple<
     storage<int>,
- pointer<int,red,integral_constant<unsigned short, 0> >
+ pointer<int,red,integral_constant<unsigned short, 3> >
> bft;
 
 

Modified: sandbox/SOC/2010/bit_masks/notes.txt
==============================================================================
--- sandbox/SOC/2010/bit_masks/notes.txt (original)
+++ sandbox/SOC/2010/bit_masks/notes.txt 2010-07-29 13:16:55 EDT (Thu, 29 Jul 2010)
@@ -76,9 +76,9 @@
                         TO BE ADDED TO TESTS SECTION
     Test which need to be created as a result of modifications or additions!
 --------------------------------------------------------------------------------
-4) Create compile failure test for pointer member mask being 0.
 5) Create compile failure test for pointer member mask not being same size as
     pointer.
+
 6) Create compile Failure test for custom member mask being 0.
 7) Create test for element and element_n
 8) Create test for get_free_function.


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