23 for (
auto [idx, s] : std::views::enumerate(this->set_))
26 if (idx + 1 < this->size())
std::ostream & operator<<(std::ostream &os, const Alphabet &alphabet) noexcept
Direct pipeline bridge forwarding stream requests toward the internal print interface.
Alphabet class to manage the collection of valid symbols for the Turing Machine.
Represents the formal alphabet ( or ) of a Turing Machine.
void print(std::ostream &os=std::cout) const noexcept
Prints the alphabet in mathematical set notation format (e.g., "{0, 1}").