RAD Studio
ContentsIndex
PreviousUpNext
E2351: Static data members not allowed in __published or __automated sections

Only nonstatic data members and member functions are allowed in __published or __automated sections. 

 

struct__declspec(delphiclass) clxclass
{
__published:
static intstaticDataMember;// Error
};
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!