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
It seems there is nothing related to using-declarator since the declaration is not a using-declaration; it's just an alias-declaration. Presumably, the explanation is in [basic.scope.pdecl] p3
The locus of an alias-declaration is immediately after it.
So, the name cannot be found until the end of the alias-declaration.
Two issues:
pair
is undefined here (is itstd::pair
?) and the error is unexplained.The explanation for the error is in [basic.scope.pdecl] p4:
Source: Vladimir Grigoriev on std-discussion 2021-11-13
The text was updated successfully, but these errors were encountered: