mirror of
https://github.com/pybind/pybind11.git
synced 2026-06-06 06:11:25 +00:00
fix issues with std::vector<bool> overload in STL (fixes #216)
This commit is contained in:
@@ -29,6 +29,7 @@ void init_ex17(py::module &m) {
|
||||
.def(pybind11::init<int>());
|
||||
|
||||
pybind11::bind_vector<unsigned int>(m, "VectorInt");
|
||||
pybind11::bind_vector<bool>(m, "VectorBool");
|
||||
|
||||
pybind11::bind_vector<El>(m, "VectorEl");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user