Silicium
Namespaces | Functions
to_unique.hpp File Reference
#include <silicium/config.hpp>
#include <memory>

Go to the source code of this file.

Namespaces

 Si
 

Functions

template<class T >
auto Si::to_unique (T &&t) -> std::unique_ptr< typename std::decay< T >::type >
 
template<class Pointee , class T >
auto Si::to_unique (T &&t) -> std::unique_ptr< Pointee >