#include <bsltf_bitwisecopyabletesttype.h>
This unconstrained (value-semantic) attribute class defines the bsl::is_trivially_copyable
trait and does not allocate memory. See the Attributes section for information on the class attributes.
See bsltf_bitwisecopyabletesttype
◆ BitwiseCopyableTestType() [1/3]
bsltf::BitwiseCopyableTestType::BitwiseCopyableTestType |
( |
| ) |
|
|
inline |
Create a SimpleTestType
object having the (default) attribute values:
int data() const
Return the value of the data attribute of this object.
Definition bsltf_bitwisecopyabletesttype.h:222
◆ BitwiseCopyableTestType() [2/3]
bsltf::BitwiseCopyableTestType::BitwiseCopyableTestType |
( |
int |
data | ) |
|
|
inlineexplicit |
◆ BitwiseCopyableTestType() [3/3]
◆ ~BitwiseCopyableTestType()
bsltf::BitwiseCopyableTestType::~BitwiseCopyableTestType |
( |
| ) |
|
|
default |
Destroy this object. Note that this destructor is neither declared nor defined because this type is trivially copyable.
◆ BSLMF_NESTED_TRAIT_DECLARATION()
◆ data()
int bsltf::BitwiseCopyableTestType::data |
( |
| ) |
const |
|
inline |
◆ operator=()
Assign to this object the value of the specified 'rhs' object, and return a reference providing modifiable access to this object.
◆ setData()
void bsltf::BitwiseCopyableTestType::setData |
( |
int |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: