#include <tuple.h>
A utility class to generate a binary compare function that can be used to test if a specific tuple element is less than another value. Example:
BaseArray<Tuple<String, Int>> data; auto match1 = Find(data, ByValue (42, TupleElementLessThan::ByIndex<1>())); auto match2 = Find(data, ByValue (43, TupleElementLessThan::ByType<Int>()));
Classes |
|
struct | ByIndex |
struct | ByType |