mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
Amalgamate the forward declaration header (#3679)
* Amalgamate the forward declaration header * Update CONTRIBUTING and PULL_REQUEST_TEMPLATE * Update documentation
This commit is contained in:
committed by
GitHub
parent
dae5412268
commit
231f3108ff
@ -13,6 +13,6 @@ using json = nlohmann::json;
|
||||
to the files you want to process JSON and set the necessary switches to enable C++11 (e.g., `-std=c++11` for GCC and
|
||||
Clang).
|
||||
|
||||
You can further use file [`include/nlohmann/json_fwd.hpp`](https://github.com/nlohmann/json/blob/develop/include/nlohmann/json_fwd.hpp)
|
||||
for forward-declarations. The installation of `json_fwd.hpp` (as part of CMake's install step), can be achieved by
|
||||
setting `-DJSON_MultipleHeaders=ON`.
|
||||
You can further use file
|
||||
[`single_include/nlohmann/json_fwd.hpp`](https://github.com/nlohmann/json/blob/develop/single_include/nlohmann/json_fwd.hpp)
|
||||
for forward declarations.
|
||||
|
Reference in New Issue
Block a user