pybind11.h
88.2 KB
-
Add workaround for clang 3.3/3.4 · 6862cb9b
As reported in #1349, clang before 3.5 can segfault on a function-local variable referenced inside a lambda. This moves the function-local static into a separate function that the lambda can invoke to avoid the issue. Fixes #1349
Jason Rhinelander committed