Unordered: Some C++11 allocator_traits fixes.

Can now be used with g++ 4.7. Not activating by default yet.

[SVN r76893]
This commit is contained in:
Daniel James committed 2012-02-05 08:45:52 +00:00
1 parent 2f92b12205
commit 992cc0b077
4 files changed
+34 -3

No files matched your search

@@ -202,7 +202,8 @@ namespace boost { namespace unordered { namespace detail {
template <typename Alloc, typename T>
struct rebind_wrap
{
typedef typename std::allocator_traits<Alloc>::rebind_alloc<T> type;
typedef typename std::allocator_traits<Alloc>::
template rebind_alloc<T> type;
};
#else