Meta-function indicating whether the specified TYPE is in the bdlat simple-type category.
Declared in <bdlar_typecategory.h>
template<class TYPE>
struct IsSimple
: bsl::integral_constant<bool, static_cast<bdlat_TypeCategory::Value>(bdlat_TypeCategory::Select<TYPE>::e_SELECTION) == bdlat_TypeCategory::e_SIMPLE_CATEGORY>
| Name | Description |
|---|---|
bsl::integral_constant<bool, static_cast<bdlat_TypeCategory::Value>(bdlat_TypeCategory::Select<TYPE>::e_SELECTION) == bdlat_TypeCategory::e_SIMPLE_CATEGORY> | Metafunction representing a compile-time constant of the specified (template parameter) t_TYPE with the specified (template parameter) t_VALUE. |
| 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. |
| Name | Description |
|---|---|
IsSimple<bsl::vector<char>> | Trait indicating that bsl::vector<char> is a bdlat simple type. |