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 le

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

Synopsis

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


template<typename T, typename U> unspecified le(const T & lhs, const U & rhs);
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