Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Function template make_unique_definit

boost::movelib::make_unique_definit

Synopsis

// In header: <boost/move/make_unique.hpp>


template<typename T> unique_ptr< T > make_unique_definit();

Description

Remarks: This function shall not participate in overload resolution unless T is not an array.

Returns: unique_ptr<T>(new T) (default initialization)


PrevUpHomeNext