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 T, typename D> 
  bool operator<(std::nullptr_t, const unique_ptr< T, D > & x);

Description

Requires: operator shall induce a strict weak ordering on unique_ptr<T, D>::pointer values.

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


PrevUpHomeNext