1 2 3 4 5 | // We don't want the internal 'std::string str' to redundantly store the // chars, along with our own allocation. So we use our knowledge of the // internal structure of std::string (for certain compilers) to force // the std::string to make it point to our chars! In such a case, the // destructor will be careful not to allow a deallocation. |