Macro
SEQAN_CONCEPT_USAGE
Define valid expressions.
Include Headers
seqan/basic.h
Parameters
Identifier of the concept defined with SEQAN_CONCEPT or SEQAN_CONCEPT_REFINE. |
Remarks
This macro should be used to introduce a block (enclosed with curly braces) of valid expressions within
a newly defined concept.
Valid expressions should test for available functions, operators and the correctness of return types.
Use helper functions, e.g. ignoreUnusedVariableWarning, requireBooleanExpr and sameType.
Examples
{
SEQAN_CONCEPT_USAGE(EqualityComparable)
{
requireBooleanExpr(a == b);
requireBooleanExpr(a != b);
}
private:
T a, b;
};
See Also
SeqAn - Sequence Analysis Library - www.seqan.de