Fn<> CompareType
Type to convert other types for comparisons.

Defined in <seqan/basic.h>
Signature CompareType<T1, T2>::Type;

Template Parameters

T2 Type of the right operand of a comparison.
T1 Type of the left operand of a comparison.

Return Values

Type The resulting type to convert other type to.

Detailed Description

Comparisons are for example operators like == or <.

Do not implement, implement CompareTypeImpl instead.

Note that there is no rule that guarantees that CompareType<T1, T2>::Type is the same as CompareType<T2, T1>::Type. It is also possible, that only one of these two types is defined.

This metafunction is used for the implementation of comparisons that involve SimpleType.

See Also