The potential scope of a declaration in a class that extends to or past the
end of a class definition also extends to the regions defined by its
member definitions, even if the members are defined lexically outside
the class (this includes static data member definitions, nested class
definitions, and member function definitions, including the member function
body and any portion of the
declarator part of such definitions which follows the
declarator-id,
including a
parameter-declaration-clause and any
default
arguments)
.