fn() convert
Converts a value into another value.

Defined in <seqan/basic.h>
Signature T convert<Target>(source);

Parameters

source An object that is converted to Target.

Template Parameters

Target The type source is converted to.

Return Values

TReturn source converted to Target. If source can be re-interpreted as instance of Target, then a reference is returned. Otherwise the function returns a temporary object.

Detailed Description

This function is implemented in convertImpl. Do not specialize convert, specialize convertImpl instead.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.

See Also