File tree 1 file changed +11
-1
lines changed 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 5993
5993
original type, or
5994
5994
5995
5995
\item from an integer type or unscoped enumeration type to an integer type that cannot
5996
- represent all the values of the original type, except where the source is a constant
5996
+ represent all the values of the original type, except where
5997
+ \begin {itemize }
5998
+ \item
5999
+ the source is a bit-field whose width $ w$ is less than that of its type
6000
+ (or, for an enumeration type, its underlying type) and
6001
+ the target type can represent all the values
6002
+ of a hypothetical extended integer type
6003
+ with width $ w$ and with the same signedness as the original type or
6004
+ \item
6005
+ the source is a constant
5997
6006
expression whose value after integral promotions will fit into the target type, or
6007
+ \end {itemize }
5998
6008
5999
6009
\item from a pointer type or a pointer-to-member type to \tcode {bool}.
6000
6010
\end {itemize }
You can’t perform that action at this time.
0 commit comments