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

A concept that indicates whether an alphabet represents amino acids. More...

#include <bio/alphabet/aminoacid/concept.hpp>

Concept definition

template<typename type>
concept bio::alphabet::aminoacid = alphabet<type> && custom::enable_aminoacid<std::remove_cvref_t<type>>
The generic alphabet concept that covers most data types used in ranges.
Definition: concept.hpp:643
A concept that indicates whether an alphabet represents amino acids.
Definition: concept.hpp:97

Detailed Description

A concept that indicates whether an alphabet represents amino acids.

Since an amino acid alphabet has no specific characteristics (like the complement function for nucleotide alphabets), we distinguish an amino acid alphabet by an extra trait.

Requirements

  1. t shall model bio::alphabet::alphabet
  2. bio::alphabet::custom::enable_aminoacid<t> needs to evalute to true.

See the documentation pages for the respective requirements.