E2328 Classes with properties cannot be copied by value (C++)

From RAD Studio
Jump to: navigation, search

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

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;