diff options
Diffstat (limited to 'development/c++/concepts-11.cc')
-rw-r--r-- | development/c++/concepts-11.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/development/c++/concepts-11.cc b/development/c++/concepts-11.cc index 888ff4d..cec8716 100644 --- a/development/c++/concepts-11.cc +++ b/development/c++/concepts-11.cc @@ -32,8 +32,7 @@ struct is_entry { template<typename TT> using val = decltype(std::declval<TT>().val()); - static constexpr bool value = is_valid_v<T, init> && - is_valid_with_ret_v<T, int, tag> && + static constexpr bool value = is_valid_v<T, init> && is_valid_with_ret_v<T, int, tag> && is_valid_with_ret_v<T, typename T::Type, val>; }; |