RAD Studio
ContentsIndex
PreviousUpNext
E2130: Circular property definition (C++)

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

 

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!