Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template le

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

Synopsis

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


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

Description

Returns:

true if lhs is less or equal to rhs; false otherwise


PrevUpHomeNext