Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64449 - sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail
From: bbartmanboost_at_[hidden]
Date: 2010-07-29 13:14:07


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

Log:
renamed test to be a source file as opposed to a header file
Added:
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.cpp
      - copied unchanged from r64448, /sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.hpp
Removed:
   sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.hpp

Deleted: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/compile_fail/pointer_mask_not_same_size_as_pointer.hpp 2010-07-29 13:14:06 EDT (Thu, 29 Jul 2010)
+++ (empty file)
@@ -1,25 +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;
-using namespace boost::bitfields;
-
-struct red { };
-
-// 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> >
-> 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