SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
writable_alphabet Interface Reference

Refines seqan3::alphabet and adds assignability. More...

#include <seqan3/alphabet/concept.hpp>

+ Inheritance diagram for writable_alphabet:

Detailed Description

Refines seqan3::alphabet and adds assignability.

This concept refines seqan3::alphabet and seqan3::writable_semialphabet and adds the requirement to be able to change the value by assigning a value of the character representation.

For a detailed overview of how the different alphabet concepts are related, see Alphabet module.


  1. t shall model seqan3::alphabet
  2. t shall model seqan3::writable_semialphabet
  3. seqan3::assign_char_to needs to be defined for objects of type t
  4. seqan3::char_is_valid_for needs to be defined for type t and an argument of the character representation

See the documentation pages for the respective requirements.

Related types

If a given type t models this concept, the following types typically do so, as well:

  • t &

const-qualified types on the other hand are not assignable.


Types that model the concept (and all refinements) can be serialised via SeqAn serialisation support. The rank value is (de-)serialised, types need not provide any overloads themselves.

The documentation for this interface was generated from the following file: