BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
bio::alphabet::alphabet Concept Reference

The generic alphabet concept that covers most data types used in ranges. More...

#include <bio/alphabet/concept.hpp>

Concept definition

template<typename t>
concept bio::alphabet::alphabet = semialphabet<t> && requires(t v) {
{
};
}
The generic alphabet concept that covers most data types used in ranges.
Definition: concept.hpp:643
The basis for bio::alphabet::alphabet, but requires only rank interface (not char).
Definition: concept.hpp:562
constexpr auto to_char
Return the char representation of an alphabet object.
Definition: concept.hpp:192

Detailed Description

The generic alphabet concept that covers most data types used in ranges.

This is the core alphabet concept that many other alphabet concepts refine.

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

Requirements

  1. t shall model bio::alphabet::semialphabet ("has all rank representation")
  2. bio::alphabet::to_char needs to be defined for objects of type t

See the documentation pages for the respective requirements.

Related types

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

  • t &
  • t const
  • t const &