Examples

Runnable programs under examples/ use only the public API.

Running examples

From the repository root:

cmake -B build -G Ninja -DPOLYCPP_VARY_BUILD_EXAMPLES=ON
cmake --build build --target append_header update_headers
./build/examples/append_header
./build/examples/update_headers