ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
Loading...
Searching...
No Matches
StdContainerMABase< T > Struct Template Reference

Description:

template<typename T>
struct alib::monomem::detail::StdContainerMABase< T >

Base struct for types StdContMA and StdContMARecycling containing entities to satisfy requirements for being a std::allocator.

Template Parameters
TThe type of objects to be allocated.

Definition at line 30 of file stdcontainerma.hpp.

#include <stdcontainerma.hpp>

Inheritance diagram for StdContainerMABase< T >:
[legend]

Public Type Index:

using difference_type = ptrdiff_t
 Type definition as required by C++ library standards.
 
using is_always_equal = std::false_type
 Type definition as required by C++ library standards.
 
using size_type = size_t
 Type definition as required by C++ library standards.
 
using value_type = T
 Type definition as required by C++ library standards.
 

Public Method Index:

size_t max_size () const noexcept
 

Type Definition Details:

◆ difference_type

template<typename T >
using difference_type = ptrdiff_t

Type definition as required by C++ library standards.

Definition at line 36 of file stdcontainerma.hpp.

◆ is_always_equal

template<typename T >
using is_always_equal = std::false_type

Type definition as required by C++ library standards.

Definition at line 38 of file stdcontainerma.hpp.

◆ size_type

template<typename T >
using size_type = size_t

Type definition as required by C++ library standards.

Definition at line 35 of file stdcontainerma.hpp.

◆ value_type

template<typename T >
using value_type = T

Type definition as required by C++ library standards.

Definition at line 37 of file stdcontainerma.hpp.

Method Details:

◆ max_size()

template<typename T >
size_t max_size ( ) const
inlinenoexcept

The possible allocation size. Note: Available only if ALIB_CPP_STANDARD == 17, as it was deprecated afterwards..

Returns
returns the largest supported allocation size.

Definition at line 49 of file stdcontainerma.hpp.


The documentation for this struct was generated from the following file: