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 operator<

boost::movelib::operator<

Synopsis

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


template<typename T1, typename D1, typename T2, typename D2> 
  bool operator<(const unique_ptr< T1, D1 > & x, 
                 const unique_ptr< T2, D2 > & y);

Description

Returns: x.get() < y.get().

Remarks: This comparison shall induce a strict weak ordering betwen pointers.


PrevUpHomeNext