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 @@
# container
Use `boost::container::vector` and `boost::unordered_flat_map` as `array_type` and `table_type`.
## build
Install [boost](https://boost.org), especially after 1.81.0 that supports `unordered_flat_map`.
Then, build toml11 with `-DTOML11_BUILD_EXAMPLES=ON`
```cpp
$ cmake -B ./build/ -DTOML11_BUILD_EXAMPLES=ON
```