The Standard defines the places where a member name is in scope in certain parts of its members. See 3.3.6/1:
- The potential scope of a name declared in a class consists not only of the declarative region following
the name’s declarator, but also of all function bodies, default arguments, and constructor ctor-
initializers in that class (including such things in nested classes).
"Potential scope" is the scope that the name has if it isn't hidden by any other name. Note that "following the name's declarator" is a not quite correct term, because some declarations are not declared using a declarator (nested class declarations, for example). So C++0x changed this to read
The potential scope of a name declared in a class consists not only of the declarative region following
the name’s point of declaration, [...]
Another guy quoted another part of the Standard (9.2/2), that requires the class type to be regarded as complete at certain parts. This allows you to create objects of your class within member function bodies, for example.