RAD Studio
ContentsIndex
PreviousUpNext
E2229: Member 'member' has the same name as its class

A static data member, enumerator, member of an anonymous union, or nested type cannot have the same name as its class. 

Only a member function or a non-static member can have a name that is identical to its class.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!