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.
#include <optional>
1 parent 5c6e236 commit f486377Copy full SHA for f486377
clingwrapper/src/clingwrapper.cxx
@@ -250,6 +250,9 @@ class ApplicationStarter {
250
"#include <set>\n" // FIXME: Replace with modules
251
"#include <chrono>\n" // FIXME: Replace with modules
252
"#include <cmath>\n" // FIXME: Replace with modules
253
+ "#if __has_include(<optional>)\n"
254
+ "#include <optional>\n"
255
+ "#endif\n"
256
"#include \"clang/Interpreter/CppInterOp.h\"";
257
Cpp::Process(code);
258
0 commit comments