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

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

 

struct__declspec(delphiclass) clxclass
{
__published:
static intstaticDataMember;// Error
};
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!