You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type denoted by the type-id const int ** has two cv-decompositions, taking U as “int” and as “pointer to const int”.
However, since n in a cv-decomposition now can be 0, it is possible to take U as “pointer to pointer to const int” and this is the third cv-decomposition for const int **.
The resolution of CWG2051, applied in 573152d, changed the condition on
n
in the definition of cv-decomposition for typeT
fromn > 0
ton ≥ 0
, but the example was not updated. It says thatHowever, since
n
in a cv-decomposition now can be0
, it is possible to takeU
as “pointer to pointer toconst int
” and this is the third cv-decomposition forconst int **
.The issue was spotted in https://stackoverflow.com/q/56733770/9585016
The text was updated successfully, but these errors were encountered: