Lines Matching refs:ss
9 stringstream ss;
10 ss << "#define NLOHMANN_JSON_EXPAND( x ) x" << endl;
11 ss << "#define NLOHMANN_JSON_GET_MACRO(";
13 ss << "_" << i + 1 << ", ";
14 ss << "NAME,...) NAME" << endl;
16 ss << "#define NLOHMANN_JSON_PASTE(...) NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_GET_MACRO(__VA_ARGS__, \\" << endl;
18 ss << "NLOHMANN_JSON_PASTE" << i << ", \\" << endl;
19 ss << "NLOHMANN_JSON_PASTE1)(__VA_ARGS__))" << endl;
21 ss << "#define NLOHMANN_JSON_PASTE2(func, v1) func(v1)" << endl;
24 ss << "#define NLOHMANN_JSON_PASTE" << i << "(func, ";
26 ss << "v" << j << ", ";
27 ss << "v" << i-1 << ") NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE" << i-1 << "(func, ";
29 ss << "v" << j << ", ";
30 ss << "v" << i-1 << ")" << endl;
33 cout << ss.str() << endl;