#include struct Capability_Mismatch { const int value{}; }; int main() { auto schema = structive::object(structive::field<&Capability_Mismatch::value>(structive::key<"value">, structive::read_write)); return static_cast(schema.property_count); }