remove fmtlib from examples

This commit is contained in:
BlackMATov
2022-11-25 06:15:45 +07:00
parent 63e7ba13e3
commit a6ba69038c
9 changed files with 9 additions and 34 deletions

View File

@@ -71,8 +71,8 @@ TEST_CASE("meta/meta_examples/function/usage") {
CHECK(sub_function_typed_result == 42);
// prints all functions in the scope
fmt::print("* {}:\n", math_scope.get_name());
std::cout << "* " << math_scope.get_name() << std::endl;
for ( auto&& [index, function] : math_scope.get_functions() ) {
fmt::print(" + {}/{}\n", index.get_name(), function.get_type().get_arity());
std::cout << " + " << index.get_name() << "/" << function.get_type().get_arity() << std::endl;
}
}