mirror of
https://github.com/nlohmann/json.git
synced 2026-10-28 11:35:20 +00:00
deploy: 94fe31eb9b
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
// possible use case: use NLOHMANN_JSON_NAMESPACE instead of nlohmann
|
||||
using json = NLOHMANN_JSON_NAMESPACE::json;
|
||||
using NLOHMANN_JSON_NAMESPACE::json;
|
||||
|
||||
// macro needed to output the NLOHMANN_JSON_NAMESPACE as string literal
|
||||
#define Q(x) #x
|
||||
@@ -10,5 +10,5 @@ using json = NLOHMANN_JSON_NAMESPACE::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << QUOTE(NLOHMANN_JSON_NAMESPACE) << std::endl;
|
||||
std::cout << QUOTE(NLOHMANN_JSON_NAMESPACE) << '\n';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user