Hello,
So whenever I put std::string in a union it returns the following error: the default constructor of "storeItem" cannot be referenced -- it is a deleted function. This error is referring to storeItem lastItem, putting the union outside of main doesn't work.