cxxomfort
rel.20211024
Simple backports for C++ - https://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Implements unique_ptr
as a comfort utility for C++03.
More...
Classes | |
class | unique_ptr< T, D > |
unique_ptr: a scoped, movable smart pointer. More... | |
Namespaces | |
cxxomfort | |
Namespace of the cxxomfort library. | |
cxxomfort::cxxostd | |
Backports made available by cxxomfort. | |
Implements unique_ptr
as a comfort utility for C++03.
This file implements the unique_ptr
smart pointer system in a similar, but not fully equivalent manner, to the unique_ptr
feature of C++11, thus reducing code rewrite when back/forthporting programs.
unique_ptr
is provided by the C++11 Standard Library.
This implementation is based off Howard Hinnant's 2009 implementation, but Boost dependencies are replaced by C++03-TR1 dependencies where possible.
Interfaces defined in this header:
unique_ptr<>
(also for namespace std)