cxxomfort  rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
Namespaces
p0040-memory_management.hpp File Reference

Implementation of std::destroy_at and allies. More...

Namespaces

 cxxomfort
 Namespace of the cxxomfort library.
 
 cxxomfort::cxxostd
 Backports made available by cxxomfort.
 

Functions

template<typename T >
void destroy_at (T *p) CXXO_NOEXCEPTNOTHROW
 Destructs an object, as if the destructor was invoked via Type::~Type(). More...
 
template<typename Iter , typename Iter2 >
void destroy (Iter ini, Iter2 fin)
 Destructs a sequence of objects. More...
 
template<typename Iter , typename Integer >
void destroy_n (Iter ini, Integer n)
 Destructs a sequence of objects. More...
 
template<typename It >
void uninitialized_default_construct (It ini, It fin)
 Default-constructs objects in uninitialized memory. More...
 
template<typename It , typename Integer >
void uninitialized_default_construct_n (It ini, Integer n)
 Default-constructs objects in uninitialized memory. More...
 

Detailed Description

Implementation of std::destroy_at and allies.