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 to view this page for the latest version.
PrevUpHomeNext

Struct template has_nothrow_move

boost::has_nothrow_move

Synopsis

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

template<typename T> 
struct has_nothrow_move {
};

Description

By default this traits returns false. Classes with non-throwing move constructor and assignment should specialize this trait to obtain some performance improvements.


PrevUpHomeNext