mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
@@ -8502,7 +8502,7 @@ But heed the warning: [Avoid "naked" `union`s](#Ru-naked)
|
|||||||
~Immutable_string()
|
~Immutable_string()
|
||||||
{
|
{
|
||||||
if (size >= buffer_size)
|
if (size >= buffer_size)
|
||||||
delete string_ptr;
|
delete[] string_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* get_str() const
|
const char* get_str() const
|
||||||
|
|||||||
Reference in New Issue
Block a user