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

Class test_struct_two

test_visit_struct.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23static_assert(visit_struct::field_count<test_struct_one>() == 3, "WTF");
24
25struct test_struct_two {
26 bool b;
27 int i;
28 double d;
29 std::string s;
30};
31
32VISITABLE_STRUCT(test_struct_two, d, i, b);
33// Note the order and that 's' is not registered!

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected