RAD Studio |  |

E2001: Constructors and destructors not allowed in __automated section (C++)
Example
Collapse All

Only member function declarations are allowed in __automated sections.

Example
Copy Code

    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!