cxxomfort  rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
Classes | Namespaces
unique_ptr.hpp File Reference

Implements unique_ptr as a comfort utility for C++03. More...

Classes

struct  default_delete< T >
 
class  unique_ptr< T, D >
 unique_ptr: a scoped, movable smart pointer. Emulation of the unique_ptr implementation in C++11 for C++03 compilers. Original backport by Howard Hinnant. More...
 

Namespaces

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

Detailed Description

Implements unique_ptr as a comfort utility for C++03.

Version
2012-04-04

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: