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 |
| Name | Description |
|---|---|
operator() | Return a copy of the template argument t_VALUE. |
operator value_type |
| Name |
|---|
value |
| Name |
|---|
IsSequence<bdlar::SequenceConstRef> |
IsSequence<bdlar::SequenceRef> |