This struct should be specialized for third-party types that need to expose "sequence" behavior. See the component-level documentation for further information.
Declared in <bdlat_sequencefunctions.h>
template<class TYPE>
struct IsSequence
: bsl::integral_constant<bool, bslalg::HasTrait<TYPE, bdlat_TypeTraitBasicSequence>::value>
| Name | Description |
|---|---|
bsl::integral_constant<bool, bslalg::HasTrait<TYPE, bdlat_TypeTraitBasicSequence>::value> | 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 |
|---|---|
IsSequence<bdlar::SequenceConstRef> | Trait indicating that bdlar::SequenceConstRef is a bdlat sequence type. |
IsSequence<bdlar::SequenceRef> | Trait indicating that bdlar::SequenceRef is a bdlat sequence type. |