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
2012-02-05 08:45:52 +00:00
parent 2f92b12205
commit 992cc0b077
4 changed files with 34 additions and 3 deletions
@@ -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