E2130 Circular property definition (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

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

Example:

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.