vendredi 1 décembre 2017

Segmentation fault when capturing by reference (C++11 lambda)

I use Clang v4.0.1 and above.

When compiling in Release mode, I get segmentation fault when I capture a public member of a struct by copy or reference to a lambda function. There are no problems in Debug mode. It is likely that older versions of Clang did not exhibit this behavior.

Is this something that should be expected?

Aucun commentaire:

Enregistrer un commentaire