9 lines
242 B
C++
9 lines
242 B
C++
#include <structive/property/property.hpp>
|
|
struct Missing_Key {
|
|
int value{};
|
|
};
|
|
int main() {
|
|
auto schema = structive::object<Missing_Key>(structive::field<&Missing_Key::value>());
|
|
return static_cast<int>(schema.property_count);
|
|
}
|