MTMS main
Modern Turing Machine Simulator
Loading...
Searching...
No Matches
tape.cpp File Reference

Implementation of the Tape class methods for the Turing Machine. More...

#include "tape.hpp"
#include <algorithm>
#include <ranges>
Include dependency graph for tape.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const Tape &tape) noexcept
 Global stream insertion operator overload.
 

Detailed Description

Implementation of the Tape class methods for the Turing Machine.

Author
wh0crypt (wh0cr.nosp@m.ypt@.nosp@m.proto.nosp@m.n.me)
Version
0.1
Date
2026-06-27

Definition in file tape.cpp.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const Tape tape 
)
noexcept

Global stream insertion operator overload.

Overloaded stream insertion operator to allow direct streaming of Tape instances.

Seamlessly pipes the custom Tape print layout directly into standard I/O pipelines.

Definition at line 111 of file tape.cpp.