Struct thrust::integer_sequence

A compile-time sequence of integral constants of type T with values Is....

See:

  • integral constants
  • index_sequence
  • make_integer_sequence
  • make_reversed_integer_sequence
  • make_index_sequence
  • make_reversed_index_sequence
  • integer_sequence_push_front
  • integer_sequence_push_back
  • std::integer_sequence

#include <thrust/type_traits/integer_sequence.h>
template <typename T,   T... Is> struct thrust::integer_sequence { public:  using type = see below;
  using value_type = see below;
  using size_type = see below;
  static constexpr _CCCL_HOST_DEVICE size_type   size(); };

Member Types

Type Alias thrust::integer_sequence::type

using type = <a href="/cccl/thrust/api/classes/structthrust_1_1integer__sequence.html">integer_sequence</a>;

Type Alias thrust::integer_sequence::value_type

using value_type = T;

Type Alias thrust::integer_sequence::size_type

using size_type = ::cuda::std::size_t;

Member Functions

Function thrust::integer_sequence::size

static constexpr _CCCL_HOST_DEVICE size_type size();