#pragma once #include #include #include using namespace std; struct Stackitem{ bool isstr; string strval; int intval; Stackitem(void); Stackitem(int _i); Stackitem(const string &_s); Stackitem(const Stackitem&); Stackitem(Stackitem &&other); Stackitem& operator=(const Stackitem&); Stackitem& operator=(Stackitem &&other); explicit operator bool(void) const; bool operator==(const Stackitem &other) const; }; vector tokenise(istream &stream); void run(vector T);