mirror of
https://github.com/boostorg/config.git
synced 2025-08-02 13:54:27 +02:00
Add test case for BOOST_NO_CXX11_ALLOCATOR
This commit is contained in:
@@ -31,11 +31,13 @@ int test()
|
|||||||
std::allocator<int> ia;
|
std::allocator<int> ia;
|
||||||
std::allocator_traits<std::allocator<int> >::rebind_alloc<void*> ra(ia);
|
std::allocator_traits<std::allocator<int> >::rebind_alloc<void*> ra(ia);
|
||||||
std::allocator<void*>* pva = &ra;
|
std::allocator<void*>* pva = &ra;
|
||||||
|
std::allocator_traits<std::allocator<int> >::rebind_traits<void*>::pointer pt;
|
||||||
|
|
||||||
(void)aat;
|
(void)aat;
|
||||||
(void)ua;
|
(void)ua;
|
||||||
(void)at;
|
(void)at;
|
||||||
(void)pva;
|
(void)pva;
|
||||||
|
(void)pt;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user