Compare first components of pair‐like values with std::less.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

struct less_first;

Description

Checks whether the first component of a container supported by std::get (like std::pair and std::tuple) compares less than the first component of another container.

Member Functions

Name

Description

operator()

Compare the first components of lhs and rhs.

Created with MrDocs