mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 11:52:08 +07:00
regen singles
This commit is contained in:
@@ -65,7 +65,7 @@ TEST_CASE("meta/meta_examples/function/usage") {
|
||||
CHECK(sub_result_value.get_type() == meta::resolve_type<int>());
|
||||
|
||||
// casts the dynamic returned value to the typed value
|
||||
const int sub_function_typed_result = sub_result_value.cast<int>();
|
||||
const int sub_function_typed_result = sub_result_value.get_as<int>();
|
||||
|
||||
// here is our typed result
|
||||
CHECK(sub_function_typed_result == 42);
|
||||
|
||||
Reference in New Issue
Block a user