Name lookup after qualified declarator-id
问题 Sec. 3.4.3/3 said: In a declaration in which the declarator-id is a qualified-id, names used before the qualified-id being declared are looked up in the defining namespace scope; names following the qualified-id are looked up in the scope of the member’s class or namespace. There is a code example from 3.4.3/3 N3797: class X { }; class C { class X { }; static const int number = 50; static X arr[number]; }; X C::arr[number];// ill-formed: // equivalent to: ::X C::arr[__C::number__]; // not to: