RAD Studio |  |

E2130: Circular property definition (C++)
Example
Collapse All

Indicates that a property definition relies directly or indirectly on itself.

Example
Copy Code

    struct pbase
    {
         int __property ip1 = {read = ip2, write = ip2};
         int __property ip2 = {read = ip1, write = ip1};
    };

The above code sample will cause this error message on any usage of ip1 or ip2.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!