meta: added meta_range and meta_iterator

This commit is contained in:
Michele Caini
2020-06-11 15:27:56 +02:00
parent 252de444fc
commit 9eac3faf3d
10 changed files with 345 additions and 62 deletions

View File

@@ -23,7 +23,7 @@ TEST(Lib, Meta) {
ASSERT_TRUE(entt::resolve_id("velocity"_hs));
auto pos = entt::resolve_id("position"_hs).construct(42., 3.);
auto vel = entt::resolve_id("velocity"_hs).ctor().invoke();
auto vel = entt::resolve_id("velocity"_hs).ctor<>().invoke();
ASSERT_TRUE(pos && vel);