cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Implementations related to Standard header memory
.
More...
Classes | |
struct | default_delete< T > |
struct | malloc_deleter |
Deleter operator that uses free() for malloc -reserved blocks. More... | |
Namespaces | |
cxxomfort | |
Namespace of the cxxomfort library. | |
cxxomfort::cxxostd | |
Backports made available by cxxomfort. | |
cxxomfort::fix | |
Fixes for implementation issues in std. | |
Functions | |
template<typename T > | |
T * | addressof (T &arg) |
Returns the address of an object. More... | |
template<typename T > | |
bool | to_bool (std::shared_ptr< T > const &p) noexcept |
template<typename T > | |
bool | to_bool (std::unique_ptr< T > const &p) noexcept |
Implementations related to Standard header memory
.
struct cxxomfort::cxxostd::default_delete |
default_delete
(stateless deleter for default new
allocations ) Default deleter for utilities like unique_ptr
.