Skip to content

Commit fe45c50

Browse files
committed
LWG4351 integral-constant-like needs more remove_cvref_t
1 parent 14df1b4 commit fe45c50

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
@@ -20180,7 +20180,7 @@
2018020180
template<class T>
2018120181
concept @\defexposconcept{integral-constant-like}@ = // \expos
2018220182
is_integral_v<remove_cvref_t<decltype(T::value)>> &&
20183-
!is_same_v<bool, remove_const_t<decltype(T::value)>> &&
20183+
!is_same_v<bool, remove_cvref_t<decltype(T::value)>> &&
2018420184
@\libconcept{convertible_to}@<T, decltype(T::value)> &&
2018520185
@\libconcept{equality_comparable_with}@<T, decltype(T::value)> &&
2018620186
bool_constant<T() == T::value>::value &&

0 commit comments

Comments
 (0)