mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 03:45:30 +07:00
safe_invoke, safe_get_as, safe_create
This commit is contained in:
@@ -65,7 +65,7 @@ TEST_CASE("meta/meta_manuals/member/usage") {
|
||||
CHECK(ivec2_x_typed_value == 42);
|
||||
|
||||
// also, we can change the member value, of course
|
||||
ivec2_x.set(v, 11);
|
||||
CHECK(ivec2_x.safe_set(v, 11));
|
||||
|
||||
// checks the result of our manipulations
|
||||
CHECK(v.x == 11);
|
||||
|
||||
Reference in New Issue
Block a user