RAD Studio
ContentsIndex
PreviousUpNext
E2328: Classes with properties cannot be copied by value (C++)

This error occurs if you attempt to use the default assignment operator. For example, the following code generates this error given two labels on a form:

*Label1->Font = *Label2->Font;
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!