Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function template le_fields

pfr::le_fields

Synopsis

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


template<typename T, typename U> 
  constexpr bool le_fields(const T & lhs, const U & rhs);

Description

Does a field-by-field less equal comparison.

Returns:

L < R || (L == R && tuple_size_v<T> <= tuple_size_v<U>), where L and R are the results of calling std::tie on first N fields of lhs and


PrevUpHomeNext