µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::estd::pmr Namespace Reference

Classes

class  polymorphic_allocator
 

Typedefs

using memory_resource = rtos::memory::memory_resource
 

Functions

template<typename T1 , typename T2 >
bool operator!= (const polymorphic_allocator< T1 > &a, const polymorphic_allocator< T2 > &b) noexcept
 
template<typename T , typename U >
bool operator!= (polymorphic_allocator< T > const &lhs, polymorphic_allocator< U > const &rhs) noexcept
 
template<typename T1 , typename T2 >
bool operator== (const polymorphic_allocator< T1 > &a, const polymorphic_allocator< T2 > &b) noexcept
 
template<typename T , typename U >
bool operator== (polymorphic_allocator< T > const &lhs, polymorphic_allocator< U > const &rhs) noexcept
 
Standard Memory Functions
memory_resourceset_default_resource (memory_resource *res) noexcept
 Set the default application memory manager.
 
memory_resourcenew_delete_resource (void) noexcept
 Get the address of a memory manager based on new/delete.
 
memory_resourcenull_memory_resource (void) noexcept
 Get the address of an ineffective memory manager.
 
memory_resourceget_default_resource (void) noexcept
 Get the default application memory manager.
 

Variables

memory_resourcedefault_resource
 

Typedef Documentation

◆ memory_resource

Function Documentation

◆ operator!=() [1/2]

template<typename T1 , typename T2 >
bool os::estd::pmr::operator!= ( const polymorphic_allocator< T1 > &  a,
const polymorphic_allocator< T2 > &  b 
)
noexcept

◆ operator!=() [2/2]

template<typename T , typename U >
bool os::estd::pmr::operator!= ( polymorphic_allocator< T > const &  lhs,
polymorphic_allocator< U > const &  rhs 
)
inlinenoexcept

Definition at line 271 of file memory_resource.

◆ operator==() [1/2]

template<typename T1 , typename T2 >
bool os::estd::pmr::operator== ( const polymorphic_allocator< T1 > &  a,
const polymorphic_allocator< T2 > &  b 
)
noexcept

◆ operator==() [2/2]

template<typename T , typename U >
bool os::estd::pmr::operator== ( polymorphic_allocator< T > const &  lhs,
polymorphic_allocator< U > const &  rhs 
)
inlinenoexcept

Definition at line 263 of file memory_resource.

Variable Documentation

◆ default_resource

memory_resource* os::estd::pmr::default_resource
extern