9 lines
318 B
C++
9 lines
318 B
C++
#include <structive/property/property.hpp>
|
|
struct Capability_Mismatch {
|
|
const int value{};
|
|
};
|
|
int main() {
|
|
auto schema = structive::object<Capability_Mismatch>(structive::field<&Capability_Mismatch::value>(structive::key<"value">, structive::read_write));
|
|
return static_cast<int>(schema.property_count);
|
|
}
|