// generated from test/snippet/alphabet/nucleotide/@target_alphabet@_implicit_conversion_from_@source_alphabet@_vector.cpp.in

//![main]
#include <vector>

#include <seqan3/alphabet/nucleotide/rna4.hpp>
#include <seqan3/alphabet/nucleotide/dna4.hpp>

int main()
{
    using namespace seqan3::literals;

    seqan3::rna4_vector vector{'A'_dna4, 'C'_dna4, 'G'_dna4}; // (element-wise) implicit conversion

    // but this won't work:
    // seqan3::rna4_vector rna4_vector{"ACGT"_dna4};

    // as a workaround you can use:
    // side note: this would also work without the implicit conversion.
    seqan3::dna4_vector dna4_vector = "ACGT"_dna4;
    seqan3::rna4_vector rna4_vector{dna4_vector.begin(), dna4_vector.end()};
}
//![main]
