no need to do convertible checks as that's already done previously

master
Daniel Kolesa 2015-06-07 15:50:33 +01:00
parent 93652ed81f
commit 44e07b8e6b
1 changed files with 1 additions and 7 deletions

View File

@ -435,13 +435,7 @@ namespace detail {
template<typename FF>
static int test(...);
static constexpr bool value = (sizeof(test<F>(octa::declval<F>())) == 1) &&
octa::IsConvertible<
octa::RangeReference<T>,
decltype(octa::declval<F>()(octa::declval<
octa::RangeReference<T>
>()))
>::value;
static constexpr bool value = (sizeof(test<F>(octa::declval<F>())) == 1);
};
template<typename T, typename R, typename F,