mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 21:25:13 +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);
|
||||
}
|
||||
|
||||
template <typename func> auto vectorize(func &&f) -> decltype(
|
||||
vectorize(std::forward<func>(f), (typename detail::remove_class<decltype(&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);
|
||||
template <typename Func>
|
||||
auto vectorize(Func &&f) -> decltype(
|
||||
vectorize(std::forward<Func>(f), (typename detail::remove_class<decltype(&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)
|
||||
|
Loading…
Reference in New Issue
Block a user