ConvertibleConcept - SeqAn API Documentation

# Concept ConvertibleConcept
A type that can be converted into another.

Defined in | <seqan/basic.h>
Signature | `Convertible<T, S>`

## Detailed Description

Expects instances of type `S` to be assignable to instances of type `T`.

### Valid Expressions

    t = s;  // t, s are of type T, S

## See Also

- AssignableConcept

## Member Function Overview

- `T & T::operator=(S const & other);`
  C++ built-in assignment operator.

## Member Functions Detail

### `T & T::operator=(S const & other);`

C++ built-in assignment operator.

The C++ standard requires the assignment operator to be a member function.

#### Data Races

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

#### Dox Sources

    /*!
     * @concept ConvertibleConcept
     *
     * @headerfile <seqan/basic.h>
     *
     * @brief A type that can be converted into another.
     *
     * @signature Convertible<T, S>
     *
     * Expects instances of type <tt>S</tt> to be assignable to instances of type
     * <tt>T</tt>.
     *
     * @section Valid Expressions
     *
     * @code{.cpp}
     * t = s;  // t, s are of type T, S
     * @endcode
     *
     *
     * @see AssignableConcept
     *
     * @fn ConvertibleConcept::operator=
     *
     * @brief C++ built-in assignment operator.
     *
     * @signature T & T::operator=(S const & other);
     *
     * The C++ standard requires the assignment operator to be a member function.
     */