From e97c735fc44bd39b390a321a276f41b3095ea2fe Mon Sep 17 00:00:00 2001 From: fwjavox Date: Fri, 17 Jan 2020 01:16:56 +0100 Subject: [PATCH] stl_bind: add binding for std::vector::clear (#2074) --- include/pybind11/stl_bind.h | 7 +++++++ tests/test_stl_binders.py | 3 +++ 2 files changed, 10 insertions(+) diff --git a/include/pybind11/stl_bind.h b/include/pybind11/stl_bind.h index 62bd9081..da233eca 100644 --- a/include/pybind11/stl_bind.h +++ b/include/pybind11/stl_bind.h @@ -136,6 +136,13 @@ void vector_modifiers(enable_if_t