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 to view this page for the latest version.
PrevUpHomeNext

Function template lt_fields

boost::pfr::lt_fields

Synopsis

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


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

Description

Does a field-by-field less 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