Home
last modified time | relevance | path

Searched defs:minimal_allocator (Results 1 – 1 of 1) sorted by relevance

/external/catch2/projects/SelfTest/UsageTests/
DToStringVector.tests.cpp29 struct minimal_allocator { struct
30 using value_type = T;
31 using size_type = std::size_t;
35 minimal_allocator(const minimal_allocator<U>&) {} in minimal_allocator() argument
38 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 !=()