15 Sep
2011
15 Sep
'11
5:07 p.m.
2011/9/15 Ion Gaztañaga
El 15/09/2011 9:53, Daniel James escribió:
The problem is that the unordered containers do something similar to:
template
struct node { typedef typename Allocator::template rebind ::other alloc; typedef typename alloc::pointer; T value; pointer next; };
Maybe using pointer_to_other (with new allocator_traits class in C++11 the work is derived to pointer_traits, which does not require instantiating the allocator, I guess)?
It requires instantiating the pointer class which might not work for the same reason.