mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 11:57:15 +02:00
Special case for Visual C++ 12 test failure.
Plus some extra tests while I'm at it.
This commit is contained in:
@ -477,7 +477,15 @@ void unordered_copyable_test(X& x, Key& k, T& t, Hash& hf, Pred& eq)
|
|||||||
|
|
||||||
a.insert(i, j);
|
a.insert(i, j);
|
||||||
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
|
||||||
|
std::initializer_list<T> list = {t};
|
||||||
|
a.insert(list);
|
||||||
|
a.insert({t,t,t});
|
||||||
|
|
||||||
|
#if !defined(BOOST_MSVC) || BOOST_MSVC >= 1800
|
||||||
|
a.insert({});
|
||||||
a.insert({t});
|
a.insert({t});
|
||||||
|
a.insert({t,t});
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
X a10;
|
X a10;
|
||||||
|
Reference in New Issue
Block a user