virtualx-engine/main/tests
Hein-Pieter van Braam ac99ed3cda String[size()] should return a default constructed CharType
As per the C++ standard 21.3.4.1 for std::string:
Returns: If pos < size(), returns data()[pos]. Otherwise, if pos ==
size(), the const version returns charT(). Otherwise, the behavior is
undefined.

Since the behavior is undefined Godot now does the same thing for const
and non-const versions of operator[].

This fixes #21242 and fixes #22221.
2019-01-04 17:48:03 +00:00
..
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
test_astar.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_astar.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_gdscript.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_gdscript.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_gui.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_gui.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_image.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_image.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_main.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_main.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_math.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_math.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_oa_hash_map.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_oa_hash_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_ordered_hash_map.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_ordered_hash_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_physics.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_physics.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_physics_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_physics_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_render.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_render.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_shader_lang.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_shader_lang.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
test_string.cpp String[size()] should return a default constructed CharType 2019-01-04 17:48:03 +00:00
test_string.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00