122 : _allocatorContext(), _size( other.
size() ),
123 _items( _allocatorContext.
allocate( _items, _size ) )
126 && _allocatorContext.isAllocated()
129 iterator i, e = end();
130 const_iterator j = other.begin();
131 for( i = begin(); i != e; ++i, ++j )
139 : _allocatorContext( ac ), _size( other.
size() ),
140 _items( _allocatorContext.
allocate( _items, _size ) )
143 && _allocatorContext.isAllocated()
146 iterator i, e = end();
147 const_iterator j = other.begin();
148 for( i = begin(); i != e; ++i, ++j )
void copy(const AllocatedVector &, const AllocatorContext &)
contrarily to operator = (), this copy function may use a different allocator, which may be the copie...
T * allocate(T *&ptr, size_t n) const
return value is the same as modifiable input param ptr