Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template lt

pfr::lt — Compares lhs and rhs for less-than using their own comparison and conversion operators; if no operators available returns pfr::lt_fields (lhs, rhs).

Synopsis

// In header: <pfr/ops.hpp>


template<typename T, typename U> unspecified lt(const T & lhs, const U & rhs);

Description

Returns:

true if lhs is less than rhs; false otherwise


PrevUpHomeNext