BDE 4.14.0 Production release
|
Provide a bitwise-copyable test class.
This component provides a single, unconstrained (value-semantic) attribute class, BitwiseCopyableTestType
, that is bitwise-copyable and defines the bslmf::IsBitwiseCopyable
type trait.
data
: representation of the class valueThis section illustrates intended use of this component.
Suppose we wanted to print the supported traits of this test type.
First, we create a function template printTypeTraits
with a parameterized TYPE
:
Now, we invoke the printTypeTraits
function template using BitwiseCopyableTestType
as the parameterized TYPE
:
Finally, we observe the console output: