Fn<> ConvertReturn type of a conversion.
Return type of a conversion.
Defined in | <seqan/basic.h> |
---|---|
Signature |
Convert<TTarget, TSource>::Type;
|
Template Parameters
TSource |
Type of the object that should be converted to Target. |
---|---|
TTarget |
Type the object should be converted to. |
Detailed Description
If instances of Source can be re-interpreted as instances of Target, than this metafunction returns a reference, otherwise it returns Target, that is convert returns a temporary.
Remarks
A constant instance of Convert is (ab)used as tag argument of convertImpl.