FRI-OS
Public Member Functions | List of all members
unique< T > Class Template Reference

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
 

Detailed Description

template<typename T>
class frios::unique< T >

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.


The documentation for this class was generated from the following file: