MySQL 9.1.0
Source Code Documentation
allocator.h File Reference

Allocator class that uses a polymorphic Memory_resource to allocate memory. More...

#include <cassert>
#include <limits>
#include "mysql/allocators/memory_resource.h"

Go to the source code of this file.

Classes

class  mysql::allocators::Allocator< T >
 Allocator using a Memory_resource to do the allocator. More...
 

Namespaces

namespace  mysql
 
namespace  mysql::allocators
 

Functions

template<class T >
bool mysql::allocators::operator== (const Allocator< T > &a1, const Allocator< T > &a2)
 Compare two Allocator objects for equality. More...
 
template<class T >
bool mysql::allocators::operator!= (const Allocator< T > &a1, const Allocator< T > &a2)
 Compare two Allocator objects for inequality. More...
 

Detailed Description

Allocator class that uses a polymorphic Memory_resource to allocate memory.