|
Ookii.CommandLine for C++
1.0.0
|
Provides a smart pointer that can optionally own the contained pointer. More...
#include <algorithm>

Go to the source code of this file.
Classes | |
| class | ookii::owned_or_borrowed_ptr< T > |
| Smart pointer that may or may not own the contained pointer. More... | |
Namespaces | |
| ookii | |
| Namespace containing the core Ookii.CommandLine.Cpp types. | |
Functions | |
| template<typename T , typename... Args> | |
| auto | ookii::make_owned_ptr (Args &&... args) |
| Creates a new instance of the owned_or_borrowed_ptr that owns the contained pointer, by constructing a new object of type T with the specified arguments. More... | |
| template<typename T > | |
| void | ookii::swap (owned_or_borrowed_ptr< T > &left, owned_or_borrowed_ptr< T > &right) noexcept |
| Swaps two owned_or_borrowed_ptr instances. More... | |
Provides a smart pointer that can optionally own the contained pointer.