File: all_ambiguous.cpp

package info (click to toggle)
seqan3 3.2.0%2Bds-6%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,776 kB
  • sloc: cpp: 159,121; makefile: 1,290; sh: 414; ansic: 321; xml: 229; javascript: 98; perl: 29; python: 27; php: 25
file content (10 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#include <seqan3/alphabet/nucleotide/dna4.hpp>

int main()
{
    // does not work:
    // seqan3::dna4 my_letter{0};      // we want to set the default, an A
    // seqan3::dna4 my_letter{'A'};    // we also want to set an A, but we are setting value 65

    // std::cout << my_letter;         // you expect 'A', but how would you access the number?
}