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
block-declaration is used for declaration-statement. You can't use a name-declaration there.
When we say name-declaration (or similar), we usually mean the immediate appearance of that grammar non-terminal quoted from a grammar production.
In short, the current phrasing seems intentional and desirable.
https://eel.is/c++draft/basic.pre#5.1 mentions the following:
That block-declaration is already given inside the name-declaration (at https://eel.is/c++draft/dcl.pre#nt:name-declaration), hence it is redundant and should be eliminated
The text was updated successfully, but these errors were encountered: