MCPcopy Create free account
hub / github.com/cbeck88/visit_struct / MyContext

Class MyContext

test_visit_struct.cpp:39–39  ·  view source on GitHub ↗

Make test struct two have a special context for visitation

Source from the content-addressed store, hash-verified

37
38// Make test struct two have a special context for visitation
39struct MyContext {};
40VISITABLE_STRUCT_IN_CONTEXT(MyContext, test_struct_two, b, i, d, s);
41
42static_assert(visit_struct::traits::is_visitable<test_struct_two, MyContext>::value, "WTF");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected