Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81262 - trunk/libs/smart_ptr/test
From: glenfe_at_[hidden]
Date: 2012-11-09 11:35:19


Author: glenfe
Date: 2012-11-09 11:35:18 EST (Fri, 09 Nov 2012)
New Revision: 81262
URL: http://svn.boost.org/trac/boost/changeset/81262

Log:
Actually remove test cases from make_shared_array_create_test.cpp and allocate_shared_array_create_test.cpp that g++ does not handle.
Text files modified:
   trunk/libs/smart_ptr/test/allocate_shared_array_create_test.cpp | 7 -------
   trunk/libs/smart_ptr/test/make_shared_array_create_test.cpp | 7 -------
   2 files changed, 0 insertions(+), 14 deletions(-)

Modified: trunk/libs/smart_ptr/test/allocate_shared_array_create_test.cpp
==============================================================================
--- trunk/libs/smart_ptr/test/allocate_shared_array_create_test.cpp (original)
+++ trunk/libs/smart_ptr/test/allocate_shared_array_create_test.cpp 2012-11-09 11:35:18 EST (Fri, 09 Nov 2012)
@@ -82,13 +82,6 @@
         BOOST_TEST(a1[2] == 2);
         BOOST_TEST(a1[3] == 3);
     }
- {
- boost::shared_ptr<int[][2]> a1 = boost::allocate_shared<int[][2]>(std::allocator<int>(), { {0, 1}, {2, 3} });
- BOOST_TEST(a1[0][0] == 0);
- BOOST_TEST(a1[0][1] == 1);
- BOOST_TEST(a1[1][0] == 2);
- BOOST_TEST(a1[1][1] == 3);
- }
 #endif
     return boost::report_errors();
 }

Modified: trunk/libs/smart_ptr/test/make_shared_array_create_test.cpp
==============================================================================
--- trunk/libs/smart_ptr/test/make_shared_array_create_test.cpp (original)
+++ trunk/libs/smart_ptr/test/make_shared_array_create_test.cpp 2012-11-09 11:35:18 EST (Fri, 09 Nov 2012)
@@ -82,13 +82,6 @@
         BOOST_TEST(a1[2] == 2);
         BOOST_TEST(a1[3] == 3);
     }
- {
- boost::shared_ptr<int[][2]> a1 = boost::make_shared<int[][2]>({ {0, 1}, {2, 3} });
- BOOST_TEST(a1[0][0] == 0);
- BOOST_TEST(a1[0][1] == 1);
- BOOST_TEST(a1[1][0] == 2);
- BOOST_TEST(a1[1][1] == 3);
- }
 #endif
     return boost::report_errors();
 }


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