mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
fix copy-paste error: non-const -> const
This commit is contained in:
parent
885b5b905a
commit
7bb1da969a
@ -1593,7 +1593,7 @@ Helper vectorize(Return (Class::*f)(Args...)) {
|
||||
return Helper(std::mem_fn(f));
|
||||
}
|
||||
|
||||
// Vectorize a class method (non-const):
|
||||
// Vectorize a class method (const):
|
||||
template <typename Return, typename Class, typename... Args,
|
||||
typename Helper = detail::vectorize_helper<decltype(std::mem_fn(std::declval<Return (Class::*)(Args...) const>())), Return, const Class *, Args...>>
|
||||
Helper vectorize(Return (Class::*f)(Args...) const) {
|
||||
|
Loading…
Reference in New Issue
Block a user