pybind11/docs/advanced
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
..
cast Eigen<->numpy referencing support 2017-02-24 23:19:50 +01:00
pycpp Support raw string literals as input for py::eval (#766) 2017-03-29 00:27:56 +02:00
classes.rst added note about trailing commas (fixes #593) 2017-03-22 21:39:19 +01:00
exceptions.rst Reorganize documentation 2016-10-20 15:21:34 +02:00
functions.rst Add a scope guard call policy 2017-04-03 00:52:47 +02:00
misc.rst Add a scope guard call policy 2017-04-03 00:52:47 +02:00
smart_ptrs.rst Improve custom holder support (#607) 2017-01-31 17:05:44 +01:00