TuringSim
C++ framework to simulate abstract computing models
tapeLike.h
1 #pragma once
2 
3 #include <memory/tape.h>
4 #include <memory/halfTape.h>
5 
6 namespace TuringSim::Memory {
11  template<bool isHalfTape, typename SymbolType>
12  using TapeLike = std::conditional_t<isHalfTape, HalfTape::HalfTape<SymbolType>, Tape::Tape<SymbolType>>;
13 }
TuringSim::Memory::TapeLike
std::conditional_t< isHalfTape, HalfTape::HalfTape< SymbolType >, Tape::Tape< SymbolType > > TapeLike
Definition: tapeLike.h:12
TuringSim::Memory::Tape::Tape
Class to represent a tape memory.
Definition: tape.h:29
TuringSim::Memory
Memory structures used by machines, such as tapes, stacks...