RAD Studio
ContentsIndex
PreviousUpNext
E2001: Constructors and destructors not allowed in __automated section (C++)

Only member function declarations are allowed in __automated sections. 

 

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