补全边角
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#include <structive/property/property.hpp>
|
||||
struct Duplicate_Key {
|
||||
int left{};
|
||||
int right{};
|
||||
};
|
||||
int main() {
|
||||
auto schema = structive::object<Duplicate_Key>(structive::field<&Duplicate_Key::left>(structive::key<"value">), structive::field<&Duplicate_Key::right>(structive::key<"value">));
|
||||
return static_cast<int>(schema.property_count);
|
||||
}
|
||||
Reference in New Issue
Block a user