Searched defs:minimal_allocator (Results 1 – 1 of 1) sorted by relevance
29 struct minimal_allocator { struct30 using value_type = T;31 using size_type = std::size_t;35 minimal_allocator(const minimal_allocator<U>&) {} in minimal_allocator() argument38 T *allocate( size_type n ) { in allocate()41 void deallocate( T *p, size_type /*n*/ ) { in deallocate()45 bool operator==( const minimal_allocator<U>& ) const { return true; } in operator ==()47 bool operator!=( const minimal_allocator<U>& ) const { return false; } in operator !=()