Update of /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32539/libs/unordered/test/unordered Modified Files: Jamfile.v2 assign_tests.cpp bucket_tests.cpp compile_tests.cpp constructor_tests.cpp copy_tests.cpp equivalent_keys_tests.cpp erase_equiv_tests.cpp erase_tests.cpp find_tests.cpp insert_tests.cpp load_factor_tests.cpp rehash_tests.cpp swap_tests.cpp unnecessary_copy_tests.cpp Log Message: Import latest changes to the unordered containers. Includes: Copyright update. Switch back to the version where the sentinel points to itself. Remove alternative versions of swap. Workaround a borland bug or two. More consistent use of class/swap/template. Avoid a few warnings. Add a no-throw swap to the allocator for exception testing. Index: find_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/find_tests.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- find_tests.cpp 1 Jul 2006 22:31:26 -0000 1.3 +++ find_tests.cpp 18 Mar 2007 20:00:59 -0000 1.4 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: insert_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/insert_tests.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- insert_tests.cpp 31 Oct 2006 22:19:26 -0000 1.6 +++ insert_tests.cpp 18 Mar 2007 20:00:59 -0000 1.7 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: compile_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/compile_tests.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- compile_tests.cpp 1 Jul 2006 22:31:26 -0000 1.4 +++ compile_tests.cpp 18 Mar 2007 20:00:59 -0000 1.5 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) @@ -18,7 +18,7 @@ template <class T> void sink(T const&) {} template <class X, class Key> -void unordered_set_test(X& r, Key const& k) +void unordered_set_test(X&, Key const&) { typedef typename X::value_type value_type; typedef typename X::key_type key_type; @@ -27,7 +27,7 @@ } template <class X, class Key, class T> -void unordered_map_test(X& r, Key const& k, T const& t) +void unordered_map_test(X&, Key const&, T const&) { typedef typename X::value_type value_type; typedef typename X::key_type key_type; @@ -49,7 +49,7 @@ } template <class X, class Key, class T, class Hash, class Pred> -void unordered_test(X& ref, Key& k, T& t, Hash& hf, Pred& eq) +void unordered_test(X&, Key& k, T& t, Hash& hf, Pred& eq) { typedef typename X::key_type key_type; typedef typename X::hasher hasher; Index: swap_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/swap_tests.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- swap_tests.cpp 3 Dec 2006 23:08:17 -0000 1.4 +++ swap_tests.cpp 18 Mar 2007 20:00:59 -0000 1.5 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: equivalent_keys_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/equivalent_keys_tests.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- equivalent_keys_tests.cpp 1 Jul 2006 22:31:26 -0000 1.2 +++ equivalent_keys_tests.cpp 18 Mar 2007 20:00:59 -0000 1.3 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: assign_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/assign_tests.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- assign_tests.cpp 31 Oct 2006 22:19:26 -0000 1.5 +++ assign_tests.cpp 18 Mar 2007 20:00:59 -0000 1.6 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: bucket_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/bucket_tests.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- bucket_tests.cpp 1 Jul 2006 22:31:26 -0000 1.3 +++ bucket_tests.cpp 18 Mar 2007 20:00:59 -0000 1.4 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: constructor_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/constructor_tests.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- constructor_tests.cpp 31 Oct 2006 22:19:26 -0000 1.6 +++ constructor_tests.cpp 18 Mar 2007 20:00:59 -0000 1.7 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: erase_equiv_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/erase_equiv_tests.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- erase_equiv_tests.cpp 31 Oct 2006 22:19:26 -0000 1.1 +++ erase_equiv_tests.cpp 18 Mar 2007 20:00:59 -0000 1.2 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: rehash_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/rehash_tests.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- rehash_tests.cpp 1 Jul 2006 22:31:26 -0000 1.3 +++ rehash_tests.cpp 18 Mar 2007 20:00:59 -0000 1.4 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: Jamfile.v2 =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/Jamfile.v2,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- Jamfile.v2 3 Dec 2006 23:08:17 -0000 1.5 +++ Jamfile.v2 18 Mar 2007 20:00:59 -0000 1.6 @@ -1,5 +1,5 @@ -# Copyright 2006 Daniel James. +# Copyright 2006-2007 Daniel James. # 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) @@ -25,7 +25,5 @@ [ run bucket_tests.cpp ] [ run load_factor_tests.cpp ] [ run rehash_tests.cpp ] - [ run swap_tests.cpp : : : <define>BOOST_UNORDERED_SWAP_METHOD=1 : swap_tests1 ] - [ run swap_tests.cpp : : : <define>BOOST_UNORDERED_SWAP_METHOD=2 : swap_tests2 ] - [ run swap_tests.cpp : : : <define>BOOST_UNORDERED_SWAP_METHOD=3 : swap_tests3 ] + [ run swap_tests.cpp : : : <define>BOOST_UNORDERED_SWAP_METHOD=3 ] ; Index: load_factor_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/load_factor_tests.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- load_factor_tests.cpp 1 Jul 2006 22:31:26 -0000 1.3 +++ load_factor_tests.cpp 18 Mar 2007 20:00:59 -0000 1.4 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: copy_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/copy_tests.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- copy_tests.cpp 31 Oct 2006 22:19:26 -0000 1.4 +++ copy_tests.cpp 18 Mar 2007 20:00:59 -0000 1.5 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: erase_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/erase_tests.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- erase_tests.cpp 31 Oct 2006 22:19:26 -0000 1.5 +++ erase_tests.cpp 18 Mar 2007 20:00:59 -0000 1.6 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) Index: unnecessary_copy_tests.cpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/unordered/test/unordered/unnecessary_copy_tests.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- unnecessary_copy_tests.cpp 3 Dec 2006 23:08:17 -0000 1.1 +++ unnecessary_copy_tests.cpp 18 Mar 2007 20:00:59 -0000 1.2 @@ -1,5 +1,5 @@ -// Copyright 2006 Daniel James. +// Copyright 2006-2007 Daniel James. // 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) |