Skip to content

stl_bind: add binding for std::vector::clear #2074

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 17, 2020
Merged

Conversation

fwjavox
Copy link
Contributor

@fwjavox fwjavox commented Jan 16, 2020

This commit adds bindings for the std::vector::clear function when using pybind11::bind_vector.

@wjakob
Copy link
Member

wjakob commented Jan 17, 2020

Great, thanks!

@wjakob wjakob merged commit e97c735 into pybind:master Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants