godot/core/string
Gergely Kis 723878bbab StringName: Use inline static field definitions
Before this change StringName used regular static field
definitions for its mutex, _table, configured and debug_stringname
fields.

Since in the general case the ordering of the static variable and field
initialization and destruction is undefined, it was possible that
the destruction of StringName's static fields happened prior to
the destruction of statically allocated StringName instances.

By changing the static field definitions to inline in string_name.h,
the C++17 standard guarantees the correct initialization and destruction
ordering.
2024-07-24 02:40:36 +02:00
..
char_range.inc Add is_valid_letter() to TextServer 2024-05-02 21:32:20 +02:00
char_utils.h Merge pull request #81639 from MJacred/is_letter 2024-05-03 01:21:34 +02:00
locales.h Fix script name of Hant and Hans 2023-07-20 15:01:39 +08:00
node_path.cpp Added NodePath::slice method. 2023-12-13 13:30:28 -05:00
node_path.h Added NodePath::slice method. 2023-12-13 13:30:28 -05:00
optimized_translation.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
optimized_translation.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
print_string.cpp Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
print_string.h Add const lvalue ref to core/* container parameters 2024-02-14 11:20:36 -03:00
SCsub Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
string_buffer.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
string_builder.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
string_builder.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
string_name.cpp StringName: Use inline static field definitions 2024-07-24 02:40:36 +02:00
string_name.h StringName: Use inline static field definitions 2024-07-24 02:40:36 +02:00
translation_po.cpp Improve PR plural translation rules handling. 2024-06-18 19:04:00 +03:00
translation_po.h Improve PR plural translation rules handling. 2024-06-18 19:04:00 +03:00
translation.compat.inc Fix some DEFVALs to use the right type 2024-02-23 01:50:18 +01:00
translation.cpp Remove editor pseudolocalization debug feature 2024-06-24 17:08:26 +02:00
translation.h Remove editor pseudolocalization debug feature 2024-06-24 17:08:26 +02:00
ucaps.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
ustring.cpp Replace find with contains/has where applicable 2024-05-08 12:37:42 +02:00
ustring.h [Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00