mirror of
https://github.com/boostorg/unordered.git
synced 2025-11-06 18:51:39 +01:00
Anotehr overhaul. Can now use `void_pointer` for links between nodes, although it doesn't as I don't think `void_pointer` support is strong enough in existing allocators. Also no longer relies on using base pointers for custome pointer types. And scaled back member function detection to just detect if an allocator has a member, not what its signature is. I found that the trait could be confused by ambiguous overloads. This might be fixable. Better documentation of C++11 compliance to come. [SVN r74859]
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
|
|
# Copyright 2006-2008 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)
|
|
|
|
import testing ;
|
|
|
|
#alias framework : /boost/test//boost_unit_test_framework ;
|
|
alias framework : ;
|
|
|
|
project unordered-test/exception-tests
|
|
: requirements
|
|
<warnings>all
|
|
<toolset>intel:<warnings>on
|
|
<toolset>gcc:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter"
|
|
<toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter"
|
|
#<toolset>gcc:<define>_GLIBCXX_DEBUG
|
|
#<toolset>darwin:<define>_GLIBCXX_DEBUG
|
|
#<toolset>msvc:<warnings-as-errors>on
|
|
#<toolset>gcc:<warnings-as-errors>on
|
|
#<toolset>darwin:<warnings-as-errors>on
|
|
;
|
|
|
|
test-suite unordered-exception
|
|
:
|
|
[ run constructor_exception_tests.cpp framework ]
|
|
[ run copy_exception_tests.cpp framework ]
|
|
[ run assign_exception_tests.cpp framework ]
|
|
[ run insert_exception_tests.cpp framework ]
|
|
[ run erase_exception_tests.cpp framework ]
|
|
[ run rehash_exception_tests.cpp framework ]
|
|
[ run swap_exception_tests.cpp framework : : :
|
|
<define>BOOST_UNORDERED_SWAP_METHOD=2 ]
|
|
;
|