mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 03:47:16 +02:00
Unordered: Try to fix vacpp's issue with select_on_container_copy_construction
[SVN r74236]
This commit is contained in:
@ -250,10 +250,15 @@ namespace boost { namespace unordered { namespace detail {
|
||||
template <typename T>
|
||||
struct has_select_on_container_copy_construction
|
||||
{
|
||||
BOOST_UNORDERED_CHECK_MEMBER(1, 1,
|
||||
#if defined(__IBMCPP__)
|
||||
BOOST_UNORDERED_CHECK_MEMBER(1, 2,
|
||||
select_on_container_copy_construction,
|
||||
T (T::*)());
|
||||
#endif
|
||||
BOOST_UNORDERED_CHECK_MEMBER(2, 1,
|
||||
select_on_container_copy_construction,
|
||||
T (T::*)() const);
|
||||
BOOST_UNORDERED_DEFAULT_MEMBER(2, 2);
|
||||
BOOST_UNORDERED_DEFAULT_MEMBER(3, 2);
|
||||
|
||||
enum { value = sizeof(test<T>(choose())) == sizeof(choice1::type) };
|
||||
};
|
||||
|
Reference in New Issue
Block a user