forked from boostorg/config
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_traits<std::allocator<int> >::rebind_alloc<void*> ra(ia);
|
||||
std::allocator<void*>* pva = &ra;
|
||||
std::allocator_traits<std::allocator<int> >::rebind_traits<void*>::pointer pt;
|
||||
|
||||
(void)aat;
|
||||
(void)ua;
|
||||
(void)at;
|
||||
(void)pva;
|
||||
(void)pt;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user