Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78688 - trunk/libs/config/test
From: marshall_at_[hidden]
Date: 2012-05-27 11:27:25


Author: marshall
Date: 2012-05-27 11:27:25 EDT (Sun, 27 May 2012)
New Revision: 78688
URL: http://svn.boost.org/trac/boost/changeset/78688

Log:
Revert changes inadvertently made in last commit
Text files modified:
   trunk/libs/config/test/boost_no_cxx_hdr_functional.ipp | 19 -------------------
   1 files changed, 0 insertions(+), 19 deletions(-)

Modified: trunk/libs/config/test/boost_no_cxx_hdr_functional.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_cxx_hdr_functional.ipp (original)
+++ trunk/libs/config/test/boost_no_cxx_hdr_functional.ipp 2012-05-27 11:27:25 EDT (Sun, 27 May 2012)
@@ -14,8 +14,6 @@
 
 void f(int, float){}
 
-bool is_true ( int ) { return true; }
-
 namespace boost_no_cxx11_hdr_functional {
 
 int test()
@@ -38,23 +36,6 @@
    std::bind(f, std::placeholders::_1, 0.0f);
 
    std::function<void(int, float)> fun(f);
-
-// make sure the C++11 functions are there too
- int arr [5];
-
- std::all_of ( arr, arr+5, 1 );
- std::any_of ( arr, arr+5, 1 );
- std::copy_if ( arr, arr+5, arr, is_true );
- std::copy_n ( arr, 3, arr );
- std::find_if_not ( arr, arr+5, is_true );
- std::iota ( arr, arr+5, 0 );
- std::is_partitioned ( arr, arr + 5, is_true );
- std::is_permutation ( arr, arr + 5, is_true );
- std::is_sorted ( arr, arr+5 );
- std::is_sorted_until ( arr, arr+5 );
- std::none_of ( arr, arr+5, 1 );
- std::partition_copy ( arr, arr+5, arr, arr, is_true );
- std::partition_point ( arr, arr + 5, is_true );
 
    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