Skip to content

Commit 52f8ba7

Browse files
authored
Merge 2019-02 LWG Motion 4
P0340R3 Making std::underlying_type SFINAE-friendly Fixes #2696.
2 parents 2c41a2a + d21b0b3 commit 52f8ba7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/utilities.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18183,9 +18183,10 @@
1818318183
\tcode{template<class T>}\br
1818418184
\tcode{struct underlying_type;}
1818518185
&
18186-
The member typedef \tcode{type} names the underlying type
18187-
of \tcode{T}.\br
18188-
\requires{} \tcode{T} shall be a complete enumeration type\iref{dcl.enum} \\ \rowsep
18186+
If \tcode{T} is an enumeration type, the member typedef \tcode{type} names
18187+
the underlying type of \tcode{T}\iref{dcl.enum};
18188+
otherwise, there is no member \tcode{type}.\br
18189+
\mandates \tcode{T} is not an incomplete enumeration type. \\ \rowsep
1818918190

1819018191
\tcode{template<class Fn,}\br
1819118192
\tcode{class... ArgTypes>}\br

0 commit comments

Comments
 (0)