[expr.typeid] glvalue of incomplete type vs typeid #4826
Labels
cwg
Issue must be reviewed by CWG.
not-editorial
Issue is not deemed editorial; the editorial issue is kept open for tracking.
All compilers report
#1
is an error, with the diagnosisinvalid use of incomplete type
. However, there's no relevant rule in the standard that restricts the type of the glvalue operand in [expr.typeid]. Is it an omission?The text was updated successfully, but these errors were encountered: