feat(pipeline): add MetaStack

This commit is contained in:
2026-03-19 01:17:57 +01:00
parent db53fb7952
commit a5ded91f8a
2 changed files with 51 additions and 0 deletions

View File

@@ -69,3 +69,13 @@ TEST_CASE("Pipeline") {
REQUIRE(count == 5);
}
TEST_CASE("MetaStack") {
struct IntId;
struct StringId;
auto s = makeMeta<IntId>(makeMeta<StringId>(std::string("test")), 10);
REQUIRE(s.get<StringId>() == "test");
REQUIRE(s.get<IntId>() == 10);
}