Unverified Commit 9796fe98 authored by Yannick Jadoul's avatar Yannick Jadoul Committed by GitHub
Browse files

feat: vectorize functions with void return type (#1969)



* Allow function/functor passed to py::vectorize to return void

* Stealing @sizmailov's test and fixing unused argument warning

* Add missing std::move()

RVO doesn't work here because function return type is different from
actual returned type

* remove extra EOL

* docs: add a few details

* chore: pre-commit autoupdate

* Remove array_iterator, array_begin, and array_end (in detail namespace)

Co-authored-by: default avatarSergei Izmailov <sergei.a.izmailov@gmail.com>
Co-authored-by: default avatarHenry Schreiner <henryschreineriii@gmail.com>
parent 56784c4f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment