From e59a07125f5188f7ce1c77e9fc8a2273be832bee Mon Sep 17 00:00:00 2001 From: Florian Wickert Date: Thu, 16 Jan 2020 16:34:46 +0100 Subject: [PATCH] stl_bind: add binding for std::vector::clear --- 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 62bd908196..da233eca99 100644 --- a/include/pybind11/stl_bind.h +++ b/include/pybind11/stl_bind.h @@ -136,6 +136,13 @@ void vector_modifiers(enable_if_t