Tuple

template <class> struct thrust::__is_tuple_of_iterator_references;
/* tuple is a class template that can be instantiated with up to ten arguments. Each template argument specifies the type of element in the tuple. Consequently, tuples are heterogeneous, fixed-size collections of values. An instantiation of tuple with two arguments is similar to an instantiation of pair with the same two arguments. Individual elements of a tuple may be accessed with the get function. */template <class... Ts> struct thrust::tuple;
template <class... Ts> _CCCL_HOST_DEVICE _CUDA_VSTD::__enable_if_t< _CUDA_VSTD::__all< _CUDA_VSTD::__is_swappable< Ts >::value... >::value, void > swap(tuple< Ts... > & __x,   tuple< Ts... > & __y);
template <class... Ts> _CCCL_HOST_DEVICE tuple< typename _CUDA_VSTD::__unwrap_ref_decay< Ts >::type... > make_tuple(Ts &&... __t);
template <class... Ts> _CCCL_HOST_DEVICE tuple< Ts &... > tie(Ts &... ts);

Member Classes

Struct thrust::__is_tuple_of_iterator_references

Inherits From: _CUDA_VSTD::false_type

Struct thrust::tuple

tuple is a class template that can be instantiated with up to ten arguments. Each template argument specifies the type of element in the tuple. Consequently, tuples are heterogeneous, fixed-size collections of values. An instantiation of tuple with two arguments is similar to an instantiation of pair with the same two arguments. Individual elements of a tuple may be accessed with the get function.

Inherits From: _CUDA_VSTD::tuple< Ts... >

Functions

Function swap

template <class... Ts> _CCCL_HOST_DEVICE _CUDA_VSTD::__enable_if_t< _CUDA_VSTD::__all< _CUDA_VSTD::__is_swappable< Ts >::value... >::value, void > swap(tuple< Ts... > & __x,   tuple< Ts... > & __y);

Function make_tuple

template <class... Ts> _CCCL_HOST_DEVICE tuple< typename _CUDA_VSTD::__unwrap_ref_decay< Ts >::type... > make_tuple(Ts &&... __t);

Function tie

template <class... Ts> _CCCL_HOST_DEVICE tuple< Ts &... > tie(Ts &... ts);