aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/development/c++/concepts-11.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/development/c++/concepts-11.cc')
-rw-r--r--src/development/c++/concepts-11.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/development/c++/concepts-11.cc b/src/development/c++/concepts-11.cc
index 888ff4d..cec8716 100644
--- a/src/development/c++/concepts-11.cc
+++ b/src/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>;
};