[fpc-pascal] For..in enumerator for generic records?
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Nov 30 13:10:00 CET 2016
On Wed, 30 Nov 2016 18:24:11 +0700
Ryan Joseph <ryan at thealchemistguild.com> wrote:
>[...] I can wrap my head around nested types in classes because they’re necessary for generics I just learned but nested classes feel messy. Is there at least some namespace protection?
Yes.
And it follows visibility rules.
> That would be a benefit I suppose if the class was only ever used
> inside that class but a unit may be a better option in that case.
Mattias
More information about the fpc-pascal
mailing list