mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 08:46:19 +08:00
Merge branch 'main' of github.com:getml/reflect-cpp
This commit is contained in:
@@ -96,7 +96,7 @@ const auto people = rfl::json::read<std::vector<Person>>(json_str).value();
|
||||
```
|
||||
|
||||
As we have noted, in this particular example, the `Person` class can be constructed from the field values in
|
||||
`PersonImpl` in the exact same order they were declaced in `PersonImpl`. So we can drop the `.to_class` method:
|
||||
`PersonImpl` in the exact same order they were declared in `PersonImpl`. So we can drop the `.to_class` method:
|
||||
|
||||
```cpp
|
||||
struct PersonImpl {
|
||||
|
||||
Reference in New Issue
Block a user