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:
jzmaddock committed 2014-02-06 13:29:59 +00:00
1 parent 9ea9842ace
commit 08392fd952
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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;
}