Trait specialization: optional uses allocators when t_TYPE does.

Synopsis

Declared in <bslstl_optional.h>

Base Classes

Name

Description

UsesBslmaAllocator<t_TYPE>

Metafunction that is true_type if TYPE uses the bslma allocator idiom.

Type Aliases

Name

Description

type

Alias for this integral_constant specialization.

value_type

Alias for the (template parameter) t_TYPE.

Member Functions

Name

Description

operator()

Return a copy of the template argument t_VALUE.

operator t_TYPE

Return a copy of the template argument t_VALUE.

Static Data Members

Name

Description

value

The compile‐time constant value of this metafunction.

Created with MrDocs