Use more consistent indentation and typenames names.

This commit is contained in:
Dzhelil Rufat 2016-09-22 14:44:11 -07:00
parent 20ef62656f
commit c250ee5146

View File

@ -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)