This commit is contained in:
2026-08-09 22:47:13 +08:00
parent 1354aa54ba
commit 11407faf86
11 changed files with 85 additions and 143 deletions
@@ -0,0 +1,10 @@
#include <structive/property/property.hpp>
struct Device { int value{}; };
int main() {
auto schema = structive::object<Device>(
structive::field<&Device::value>(
structive::key<"value">,
structive::unit<"first">,
structive::unit<"second">));
static_cast<void>(schema);
}