The local class and the nested class are different animals.
A Nested class is a class declared within another class.
A local class is declared in a function definition.
The inner class is a non-standard C ++ term. Therefore, I am not sure how to determine it.
Nested classes:
IBM documentation as good documentation here . To summarize:
:
, .