We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9cc503 commit afc0f98Copy full SHA for afc0f98
extern/cloop/src/cloop/Generator.cpp
@@ -191,7 +191,9 @@ void CppGenerator::generate()
191
fprintf(out, "#endif\n\n\n");
192
193
fprintf(out, "#ifndef CLOOP_CONSTEXPR\n");
194
- fprintf(out, "#if __cplusplus >= 201103L\n");
+ fprintf(out, "#if __cplusplus >= 201703L\n");
195
+ fprintf(out, "#define CLOOP_CONSTEXPR inline constexpr\n");
196
+ fprintf(out, "#elif __cplusplus >= 201103L\n");
197
fprintf(out, "#define CLOOP_CONSTEXPR constexpr\n");
198
fprintf(out, "#else\n");
199
fprintf(out, "#define CLOOP_CONSTEXPR const\n");
0 commit comments