SeqAn3
seqan3::alphabet_size< alphabet_type > Struct Template Reference

The size of the alphabet. [value metafunction base template]. More...

#include <seqan3/alphabet/concept_pre.hpp>

Detailed Description

template<typename alphabet_type>
struct seqan3::alphabet_size< alphabet_type >

The size of the alphabet. [value metafunction base template].

Template Parameters
alphabet_typeMust satisfy seqan3::semi_alphabet_concept.

This is the expression to retrieve the value:

using alphabet_type = rna4;
// or
auto j = seqan3::alphabet_size_v<alphabet_type>;

The type of the variable is seqan3::underlying_rank_t<alphabet_type>.

Helper variable template
seqan3::alphabet_size_v as a shorthand for seqan3::alphabet_size<alphabet_type>::value
Attention
This is the base template, it needs to be specialised.

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