Skip to content

Introduce trampoline typedef

To prevent errors with complicated return types, (https://github.com/pybind/pybind11/issues/203), introduce a variable which is set with the "using" to contain the return_value of the function.

Add a test which passes a slightly complicated std::map as a return type to a protected and overloaded function.

Merge request reports