Concept
ComparableConcept
A type that can be compared.
Concept Definition
Required Functions
operator>C++ built-in greater-than comparison operator.
operator>=C++ built-in greather-than-or-equal comparison operator.
operator<C++ built-in less-than comparison operator. (LessThanComparableConcept)
operator<=C++ built-in less-than-or-equal comparison operator.
Refinements
IntegerConceptAn integral type.
OrderedAlphabetConceptTotally strict ordered alphabet.
Comparable<T>
Include Headers
seqan/basic.h
Remarks
Expects instances of type T to be comparable. Comparison operators must return boolean convertible values.
Implemented by
SimpleTypeImplementation for "simple" types. (FiniteOrderedAlphabetConcept)
Examples
Valid expressions:
a < b;
a > b;
a <= b;
a >= b;
Invariants:

a<b Û b>a\nl a<=b Û b>=a\nl a<=b Û a<b or (a<=b and a>=b)

SeqAn - Sequence Analysis Library - www.seqan.de
 

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