diff --git a/example/example11.cpp b/example/example11.cpp index 466eed465..799fa6226 100644 --- a/example/example11.cpp +++ b/example/example11.cpp @@ -27,8 +27,8 @@ py::object call_kw_func(py::function f) { } void args_function(py::args args) { - for (auto item : args) - std::cout << "got argument: " << item << std::endl; + for (size_t it=0; it