|
FRI-OS
|
Wrapper ensuring the uniqueness of a value. More...
#include <frios/utils/unique.hpp>
Inherits unique_impl< T, POD >.
Public Member Functions | |
| unique (void) | |
| Default construction. | |
| template<typename... P> | |
| unique (P &&...p) | |
| Construction with arbitrary number of parameters. | |
| unique (unique &&tmp) | |
| unique objects are movable | |
Wrapper ensuring the uniqueness of a value.
This template can be used to wrap handles to OS resource and it ensures that the values are not copied, only moved.
1.8.6