From 44e07b8e6b12cb9b0439a42f5822662d0342d0f1 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 7 Jun 2015 15:50:33 +0100 Subject: [PATCH] no need to do convertible checks as that's already done previously --- octa/algorithm.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/octa/algorithm.h b/octa/algorithm.h index bcf2735..9728e1c 100644 --- a/octa/algorithm.h +++ b/octa/algorithm.h @@ -435,13 +435,7 @@ namespace detail { template static int test(...); - static constexpr bool value = (sizeof(test(octa::declval())) == 1) && - octa::IsConvertible< - octa::RangeReference, - decltype(octa::declval()(octa::declval< - octa::RangeReference - >())) - >::value; + static constexpr bool value = (sizeof(test(octa::declval())) == 1); }; template