Concept
LessThanComparableConcept
A type that can be less-than compared.
Concept Definition
Required Functions
operator<C++ built-in less-than comparison operator.
Refinements
ComparableConceptA type that can be compared.
MutableRandomAccessIteratorConceptA RandomAccessIteratorConcept that allows assignable derefentiation.
RandomAccessIteratorConceptAn iterator allowing random access.
LessThanComparable<T>
Include Headers
seqan/basic.h
Remarks
Expects instances of type T to be comparable via operator<. Comparison operator must return a boolean convertible value. operator< must be a partial ordering.
Implemented by
ModifiedIteratorAllows to modify arbitrary iterators by specializing what differs from an origin. (RandomAccessIteratorConcept)
SimpleTypeImplementation for "simple" types. (FiniteOrderedAlphabetConcept)
Examples
Valid expressions:
a < b;
Invariants:

\not a<a (irreflexivity)\nl a<b Þ \not b<a (antisymmetry)\nl a<b and b<c Þ a<c (transitivity)

SeqAn - Sequence Analysis Library - www.seqan.de
 

Page built @2013/07/11 09:12:35