memory.hpp File Reference
#include <atria/estd/type_traits.hpp>
#include <memory>

Go to the source code of this file.

Namespaces

 atria
 C++ amazing templates and reusable implementations awesomeness.
 
 atria::estd
 C++11 compatible implementations of some C++14 and beyond standard library components.
 

Functions

template<class T , class... Args>
auto make_unique (Args &&...args) -> estd::enable_if_t<!std::is_array< T >::value, std::unique_ptr< T > >
 
template<class T >
auto make_unique (std::size_t size) -> estd::enable_if_t< std::is_array< T >::value, std::unique_ptr< T > >
 
Fork me on GitHub