µOS++ IIIe Reference  v6.3.15
“Perfekt ist nicht gut genug”
The third edition of µOS++, a POSIX inspired open source system, written in C++.
os::estd::pmr Namespace Reference

Classes

class  polymorphic_allocator
 

Types

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. More...
 
memory_resourcenew_delete_resource (void) noexcept
 Get the address of a memory manager based on new/delete. More...
 
memory_resourcenull_memory_resource (void) noexcept
 Get the address of an ineffective memory manager. More...
 
memory_resourceget_default_resource (void) noexcept
 Get the default application memory manager. More...
 

Variables

memory_resourcedefault_resource
 

Types

◆ 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 281 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 273 of file memory_resource.

Variable Documentation

◆ default_resource

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