BDE 4.14.0 Production release
|
Provide an attribute class that is not copy constructible.
This component provides a single, unconstrained (value-semantic) attribute class, NonCopyConstructibleTestType
, that does not provide a copy constructor. This is particularly valuable when testing container operations that works with non-copy-constructible types.
data
: representation of the class valueThis section illustrates intended use of this component.
Suppose we wanted to show NonCopyConstructibleTestType
can't be copy constructed:
First, we create a NonCopyConstructibleTestType
object, X
:
Now, we show that copy constructing another object from X
will not compile: