MySQL 8.0.39
Source Code Documentation
allocator.h File Reference

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

#include <cassert>
#include <limits>
#include "memory_resource.h"

Go to the source code of this file.

Classes

class  mysqlns::resource::Allocator< T >
 Allocator using a Memory_resource to do the allocator. More...
 

Namespaces

namespace  mysqlns
 
namespace  mysqlns::resource
 

Functions

template<class T >
bool mysqlns::resource::operator== (const Allocator< T > &a1, const Allocator< T > &a2)
 Compare two Allocator objects for equality. More...
 
template<class T >
bool mysqlns::resource::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.