[DISABLE, INFORMATION, WARNING , ERROR]
Local class declarations would force the compiler to generate local special member functions (Copy Constructor, Default Constructor, Destructor, Assignment operator). But local functions are not supported.
;
If you really want the compiler generated special member functions to be created, then declare the class (or struct) in the global scope.