mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 23:22:01 +00:00
Use more consistent indentation and typenames names.
This commit is contained in:
parent
20ef62656f
commit
c250ee5146
@ -911,10 +911,11 @@ detail::vectorize_helper<Return (*) (Args ...), Return, Args...> vectorize(Retur
|
|||||||
return vectorize<Return (*) (Args ...), Return, Args...>(f, f);
|
return vectorize<Return (*) (Args ...), Return, Args...>(f, f);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename func> auto vectorize(func &&f) -> decltype(
|
template <typename Func>
|
||||||
vectorize(std::forward<func>(f), (typename detail::remove_class<decltype(&std::remove_reference<func>::type::operator())>::type *) nullptr)) {
|
auto vectorize(Func &&f) -> decltype(
|
||||||
return vectorize(std::forward<func>(f), (typename detail::remove_class<decltype(
|
vectorize(std::forward<Func>(f), (typename detail::remove_class<decltype(&std::remove_reference<Func>::type::operator())>::type *) nullptr)) {
|
||||||
&std::remove_reference<func>::type::operator())>::type *) nullptr);
|
return vectorize(std::forward<Func>(f), (typename detail::remove_class<decltype(
|
||||||
|
&std::remove_reference<Func>::type::operator())>::type *) nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
NAMESPACE_END(pybind11)
|
NAMESPACE_END(pybind11)
|
||||||
|
Loading…
Reference in New Issue
Block a user