Skip to content

Instantly share code, notes, and snippets.

@rightfold
Created April 4, 2015 00:43
Show Gist options
  • Save rightfold/10b11f7bdfa1dd30f2b5 to your computer and use it in GitHub Desktop.
Save rightfold/10b11f7bdfa1dd30f2b5 to your computer and use it in GitHub Desktop.
template<typename CodeIt>
class tape {
public:
tape(CodeIt begin, CodeIt end);
instruction read();
void seek(std::size_t offset);
private:
// ...
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment