Skip to content

Commit ab723fb

Browse files
eisenwavetkoeppe
authored andcommitted
LWG4351 integral-constant-like needs more remove_cvref_t
1 parent fb01400 commit ab723fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/containers.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20181,7 +20181,7 @@
2018120181
template<class T>
2018220182
concept @\defexposconcept{integral-constant-like}@ = // \expos
2018320183
is_integral_v<remove_cvref_t<decltype(T::value)>> &&
20184-
!is_same_v<bool, remove_const_t<decltype(T::value)>> &&
20184+
!is_same_v<bool, remove_cvref_t<decltype(T::value)>> &&
2018520185
@\libconcept{convertible_to}@<T, decltype(T::value)> &&
2018620186
@\libconcept{equality_comparable_with}@<T, decltype(T::value)> &&
2018720187
bool_constant<T() == T::value>::value &&

0 commit comments

Comments
 (0)