From b12a9d67c69ddf3e3d123894669f66938b4921ff Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Wed, 23 Aug 2017 16:30:56 +0200 Subject: [PATCH] mention PR #1015 in changelog --- docs/changelog.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 80c156fee..744a9199d 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -199,6 +199,20 @@ v2.2.0 (Not yet released) py::class_(m, "Derived") .def("foo", &Derived::foo); // function is actually from `Base` +* The implementation of ``py::init<>`` now uses C++11 brace initialization + syntax to construct instances, which permits binding implicit constructors of + aggregate types. `#1015 `_. + + .. code-block:: cpp + + struct Aggregate { + int a; + std::string b; + }; + + py::class_(m, "Aggregate") + .def(py::init()); + * Fixed issues with multiple inheritance with offset base/derived pointers. `#812 `_, `#866 `_,