|
BDE 4.14.0 Production release
|
Provide an attribute class to which can not be assigned.
This component provides a single, unconstrained (value-semantic) attribute class, NonAssignableTestType, that does not not support assignment. This is particularly valuable when testing container operations that works with non-assignable types.
data: representation of the class valueThis section illustrates intended use of this component.
Suppose we wanted to show NonAssignableTestType can't be assigned to:
First, we create two NonAssignableTestType objects, X and Y:
Now, we show that assigning X from Y will not compile: