Trait specialization: optional uses allocators when t_TYPE does.
Declared in <bslstl_optional.h>
template<class t_TYPE>
struct UsesBslmaAllocator<bsl::optional<t_TYPE>>
: UsesBslmaAllocator<t_TYPE>
| Name | Description |
|---|---|
UsesBslmaAllocator<t_TYPE> | Metafunction that is true_type if TYPE uses the bslma allocator idiom. |
| Name | Description |
|---|---|
type | Alias for this integral_constant specialization. |
value_type | Alias for the (template parameter) t_TYPE. |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |
operator t_TYPE | Return a copy of the template argument t_VALUE. |
| Name | Description |
|---|---|
value | The compile-time constant value of this metafunction. |