What I already have correctly done :

class token
{
public:
token(const token& _t){num = _t.num;opcode = _t.opcode;};
token(std::string _in); //For parts of the input string
...