#include <bits/stdc++.h>
#include "stack.hpp"
using namespace std;
struct tyler {
string name;
int id;
friend ostream &operator<<(ostream&, const tyler&);
};
//Tell the ostream class that it's ok to access the tyler class
ostream &operator<<(ostream& out, const tyler& obj) {
out << "{" << obj.name << ", " << obj.id << "}";
return out;
}
int main() {
//Easter egg for a student in the lab at the time
tyler senter;
//Make a stack that accepts the "tyler" class.
cn_stack<tyler> obj;
//Setup the instance, then push
senter.id = 0;
senter.name = "pi";
obj.push(senter);
//Ditto
senter.id = 1;
senter.name = "raspberry";
obj.push(senter);
//Print
obj.debug_print();
//Clean up
obj.clear();
}