Compile-time traits computed from the variant's held types.
Declared in <bdlb_variant.h>
enum Unnamed enum;
| Name | Description |
|---|---|
k_VARIANT_USES_BSLMA_ALLOCATOR | true if any held type uses bslma::Allocator. |
k_VARIANT_IS_BITWISE_COPYABLE | true if every held type is bitwise copyable. |
k_VARIANT_IS_BITWISE_MOVEABLE | true if every held type is bitwise moveable. |
VARIANT_USES_BSLMA_ALLOCATOR | Deprecated alias for k_VARIANT_USES_BSLMA_ALLOCATOR. |
VARIANT_IS_BITWISE_COPYABLE | Deprecated alias for k_VARIANT_IS_BITWISE_COPYABLE. |
VARIANT_IS_BITWISE_MOVEABLE | Deprecated alias for k_VARIANT_IS_BITWISE_MOVEABLE. |