Compile‐time traits computed from the variant's held types.

Synopsis

Declared in <bdlb_variant.h>

enum Unnamed enum;

Members

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.

Created with MrDocs