Skip to content

Commit

Permalink
Merge 2019-02 LWG Motion 4
Browse files Browse the repository at this point in the history
P0340R3 Making std::underlying_type SFINAE-friendly

Fixes #2696.
  • Loading branch information
zygoloid committed Mar 14, 2019
2 parents 2c41a2a + d21b0b3 commit 52f8ba7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions source/utilities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -18183,9 +18183,10 @@
\tcode{template<class T>}\br
\tcode{struct underlying_type;}
&
The member typedef \tcode{type} names the underlying type
of \tcode{T}.\br
\requires{} \tcode{T} shall be a complete enumeration type\iref{dcl.enum} \\ \rowsep
If \tcode{T} is an enumeration type, the member typedef \tcode{type} names
the underlying type of \tcode{T}\iref{dcl.enum};
otherwise, there is no member \tcode{type}.\br
\mandates \tcode{T} is not an incomplete enumeration type. \\ \rowsep

\tcode{template<class Fn,}\br
\tcode{class... ArgTypes>}\br
Expand Down

0 comments on commit 52f8ba7

Please sign in to comment.