What\'s the best way to delete an std::string from memory allocated on the heap when I\'m done using it? Thanks!
just treat std::string as any basic type.
std::string *str = new std::string("whatever"); ///code delete str;