rename "uvalue::get_as" to "uvalue::as"

This commit is contained in:
BlackMATov
2023-02-18 01:29:47 +07:00
parent 8730e11d3c
commit e3b82ca382
35 changed files with 702 additions and 720 deletions

View File

@@ -59,7 +59,7 @@ TEST_CASE("meta/meta_manuals/member/usage") {
CHECK(ivec2_x_value.get_type() == meta::resolve_type<int>());
// casts the dynamic value to the typed value
const int ivec2_x_typed_value = ivec2_x_value.get_as<int>();
const int ivec2_x_typed_value = ivec2_x_value.as<int>();
// here is our member typed value
CHECK(ivec2_x_typed_value == 42);