Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template make_unique_nothrow_definit

boost::movelib::make_unique_nothrow_definit

Synopsis

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


template<typename T> 
  unique_ptr< T > make_unique_nothrow_definit(std::size_t n);

Description

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

Returns: unique_ptr<T>(new (std::nothrow)remove_extent_t<T>[n]) (default initialization)


PrevUpHomeNext