Files
pybind11/include/pybind11
Dean Moldovan 1ac19036d6 Add a scope guard call policy
```c++
m.def("foo", foo, py::call_guard<T>());
```

is equivalent to:

```c++
m.def("foo", [](args...) {
    T scope_guard;
    return foo(args...); // forwarded arguments
});
```
2017-04-03 00:52:47 +02:00
..
2017-04-03 00:52:47 +02:00
2017-04-03 00:52:47 +02:00
2017-03-11 23:04:16 -04:00
2017-04-03 00:52:47 +02:00
2016-12-08 00:43:29 +01:00
2016-09-19 13:45:31 +02:00
2017-04-03 00:52:47 +02:00
2016-12-16 15:00:46 +01:00