mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-24 06:05:10 +00:00
fix copy-paste error: non-const -> const
This commit is contained in:
parent
3595fd06dc
commit
c769c62949
@ -1587,7 +1587,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