C++ use callback

Hello everyone, I am currently doing interface docking for IOS, but I have encountered some problems and found some expressions not available:

demo->call([](const char * json, bool isOk){


An expression error will occur here. This expression should be in C++11. Does haxe not support C++11?

When you perform a build, you should be able to tell what flags are being set for the compiler.

You can also look at (or change) the settings used in the default HXCPP toolchain for the target, or even use your own:

1 Like