The declaration is neither meaningful C++ nor fragment from the class definition. Proposed change: Either qualify as name-type::name-type or do not qualify at all if it is intended as a “quote” from the class definition.