Declared in <bslstl_optional.h>
template<class t_TYPE>
struct UsesBslmaAllocator<bsl::optional<t_TYPE>>
: UsesBslmaAllocator<t_TYPE>
| Name | Description |
|---|---|
UsesBslmaAllocator<t_TYPE> | This metafunction is derived from true_type if TYPE adheres to the bslma allocator usage idiom and false_type otherwise. Note that this trait must be explicitly associated with a type in order for this metafunction to return true; simply having a constructor that implicitly converts bslma::Allocator * to TYPE is deprecated as a means of indicating that a type follows the bslma allocator usage idiom. |
| Name | Description |
|---|---|
type | Alias for this integral_constant specialization. |
value_type |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |
operator value_type |
| Name |
|---|
value |