Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63235 - sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail
From: bbartmanboost_at_[hidden]
Date: 2010-06-22 10:41:58


Author: bbartman
Date: 2010-06-22 10:41:57 EDT (Tue, 22 Jun 2010)
New Revision: 63235
URL: http://svn.boost.org/trac/boost/changeset/63235

Log:
removing extra preconditions from the test suite
Removed:
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/no_array_types.cpp
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/non_pod_storage_type.cpp

Deleted: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/no_array_types.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/no_array_types.cpp 2010-06-22 10:41:57 EDT (Tue, 22 Jun 2010)
+++ (empty file)
@@ -1,19 +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>
-
-using namespace boost;
-struct red;
-// This is to make sure that array types don't work.
-typedef bitfield_tuple< storage<int[3]>, member<int,red,3> > bft;
-
-
-int main() {
- bft(); // don't for get in order make sure that the template works you
- // either need to construct it or ask for a type in it!
- return 0;
-}

Deleted: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/non_pod_storage_type.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/non_pod_storage_type.cpp 2010-06-22 10:41:57 EDT (Tue, 22 Jun 2010)
+++ (empty file)
@@ -1,18 +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>
-
-using namespace boost;
-struct red { };
-// Fails because storage type is not a POD type.
-typedef bitfield_tuple<storage<red>, member<int,red,3> > bft;
-
-
-int main() {
- bft();
- return 0;
-}


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