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,15 @@
# reflect
Compare TOML key after NFC canonicalization.
It depends on [uni-algo](https://github.com/uni-algo/uni-algo.git).
The example contains two keys that are different in bytewise comparison, but becomes the same after NFC normalization.
## build
Build toml11 with `-DTOML11_BUILD_EXAMPLES=ON`.
```cpp
$ cmake -B ./build/ -DTOML11_BUILD_EXAMPLES=ON
```