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

Description

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

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


PrevUpHomeNext