Convert - SeqAn API Documentation

# Fn<> Convert
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.

#### Dox Sources

    /*!
     * @mfn Convert
     *
     * @headerfile <seqan/basic.h>
     *
     * @brief Return type of a conversion.
     *
     * @signature Convert<TTarget, TSource>::Type;
     *
     * @tparam TSource Type of the object that should be converted to
     *                 <tt>Target</tt>.
     * @tparam TTarget Type the object should be converted to.
     *
     * If instances of <tt>Source</tt> can be re-interpreted as instances of
     * <tt>Target</tt>, than this metafunction returns a reference, otherwise it
     * returns <tt>Target</tt>, that is convert returns a temporary.
     *
     * @section Remarks
     *
     * A constant instance of <tt>Convert</tt> is (ab)used as tag argument of
     * convertImpl.
     */