BDE 4.14.0 Production release
|
Provide an union test type.
This component provides a union type, UnionTestType
, that supports the set of operations for a single unconstrained (value-semantic) attribute type. UnionTestType
can be used during testing as the parameterized type of a class templates to ensure union
types will function correctly. Note that this is particular valuable when testing a container template that supports different types of contained elements.
data
: value of this typeThis section illustrates intended use of this component.
Suppose we wanted to show how objects of UnionTestType
can be created and used.