mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-15 11:52:08 +07:00
remove fmtlib from examples
This commit is contained in:
@@ -58,9 +58,9 @@ TEST_CASE("meta/meta_examples/class/type") {
|
||||
const meta::class_type rectangle_type = meta::resolve_type<rectangle>();
|
||||
|
||||
// prints all class methods
|
||||
fmt::print("* rectangle:\n");
|
||||
std::cout << "* rectangle" << std::endl;
|
||||
for ( auto&& [index, method] : rectangle_type.get_methods() ) {
|
||||
fmt::print(" + {}/{}\n", index.get_name(), index.get_type().get_arity());
|
||||
std::cout << " + " << index.get_name() << "/" << index.get_type().get_arity() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user