  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   13 #ifndef TESTTOOLS_TESTALLOC_H 
   14 #define TESTTOOLS_TESTALLOC_H 
   40   constexpr 
static size_t MAGIC = 0xdeadbeeffeedabba;
 
   52     return reinterpret_cast<pointer>(
h+1);
 
   71   template <
class... 
Args>
 
   76 # pragma GCC diagnostic push 
   77 # pragma GCC diagnostic ignored "-Wstringop-overflow" 
   79     new (
p) T(std::forward<Args>(
args)...);
 
   81 # pragma GCC diagnostic pop 
  109 #endif // not TESTTOOLS_TESTALLOC_H 
  
size_type max_size() const
 
constexpr static size_t MAGIC
 
void deallocate(pointer p, size_type n)
 
pointer address(reference x) const
 
bool operator==(const TestAlloc &) const
 
functions & macros to test the difference between floats
 
To test handling of non-standard memory allocators.
 
pointer allocate(size_type n, const void *=0)
 
T * pointer
Standard STL allocator typedefs.
 
const T & const_reference
 
ptrdiff_t difference_type
 
void construct(pointer p, Args &&... args)
 
const_pointer address(const_reference x) const