What\'s the best way to delete an std::string from memory allocated on the heap when I\'m done using it? Thanks!
Use delete if it's on the heap, and nothing at all if it's on the stack.
delete