the only functions I'm willing to leave in the interface - available for inlining
| 640 | |
| 641 | // the only functions I'm willing to leave in the interface - available for inlining |
| 642 | const char* c_str() const { return const_cast<String*>(this)->c_str(); } // NOLINT |
| 643 | char* c_str() { |
| 644 | if (isOnStack()) { |
| 645 | return reinterpret_cast<char*>(buf); |
no test coverage detected