forked from boostorg/config
Update test for C++11 std::allocator to check that member rebind is a template alias. Update config headers to match.
This commit is contained in:
1 parent
9ea9842ace
commit
08392fd952
2 files changed
+5
-1
No files matched your search
@@ -28,10 +28,14 @@ int test()
|
||||
std::allocator_arg_t aat;
|
||||
std::uses_allocator<int, std::allocator<int> > ua;
|
||||
std::allocator_traits<std::allocator<int> > at;
|
||||
std::allocator<int> ia;
|
||||
std::allocator_traits<std::allocator<int> >::rebind_alloc<void*> ra(ia);
|
||||
std::allocator<void*>* pva = &ra;
|
||||
|
||||
(void)aat;
|
||||
(void)ua;
|
||||
(void)at;
|
||||
(void)pva;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user