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 move_if_not_lvalue_reference

boost::move_if_not_lvalue_reference

Synopsis

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


template<typename T> 
  output_reference move_if_not_lvalue_reference(input_reference);

Description

Effects: Calls boost::move if input_reference is not a lvalue reference. Otherwise returns the reference


PrevUpHomeNext