MySQL 8.4.2
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/binlog/event/resource/memory_resource.h"

Go to the source code of this file.

Classes

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

Namespaces

namespace  mysql
 
namespace  mysql::binlog
 
namespace  mysql::binlog::event
 The namespace contains classes representing events that can occur in a replication stream.
 
namespace  mysql::binlog::event::resource
 

Functions

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