/// \fn delete element string stack::del() { string temp = data; if (next != nullptr) { data = next->del(); } else { data = ""; } return temp; }