feat: add examples

This commit is contained in:
ToruNiina
2024-06-15 19:23:05 +09:00
parent 7789b4e8be
commit da2a85b500
28 changed files with 954 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
# reflect
Auto convert from user-defined `struct`s to `toml::value`.
It depends on [boost-ext/reflect](https://github.com/boost-ext/reflect).
## build
Build toml11 with `-DTOML11_BUILD_EXAMPLES=ON`.
```cpp
$ cmake -B ./build/ -DTOML11_BUILD_EXAMPLES=ON
```