tinympl  0.2
mini MPL library for C++11
tinympl::lexicographical_compare< SequenceA, SequenceB, Comparator > Class Template Reference

Compares two sequences using the given comparator. More...

#include <tinympl/lexicographical_compare.hpp>

Detailed Description

template<class SequenceA, class SequenceB, template< class...> class Comparator = less>
class tinympl::lexicographical_compare< SequenceA, SequenceB, Comparator >

Compares two sequences using the given comparator.

Parameters
SequenceAthe First sequence
SequenceBthe second sequence
Comparatorthe comparator (default less)
Returns
An std::integral_constant<int,v> where v is -1 if the first sequence is lexicographically smaller than the second, 1 if the first is greater than the second and 0 if the two sequences are equal.

The documentation for this class was generated from the following file: