DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::tuple< T, Ts... > Struct Template Reference

#include <sycl/detail/tuple.hpp>

Collaboration diagram for sycl::_V1::detail::tuple< T, Ts... >:

Public Types

using tuple_type = std::tuple< T, Ts... >
 

Public Member Functions

 tuple ()=default
 
 tuple (const tuple &)=default
 
template<typename UT , typename... UTs>
 tuple (const tuple< UT, UTs... > &RHS)
 
 tuple (const T &Value, const Ts &...Next)
 
 tuple (const std::tuple< T, Ts... > &RHS)
 
 operator std::tuple< T, Ts... > () const
 
template<typename UT , typename... UTs>
 operator std::tuple< UT, UTs... > () const
 
template<typename UT , typename... UTs>
tupleoperator= (const detail::tuple< UT, UTs... > &RHS)
 
tupleoperator= (const detail::tuple< T, Ts... > &)=default
 
template<typename UT , typename... UTs>
tupleoperator= (const std::tuple< UT, UTs... > &RHS)
 

Static Public Member Functions

template<typename UT , typename... UTs, std::size_t... Is>
static std::tuple< UT, UTs... > to_std_tuple (const tuple< UT, UTs... > &Tuple, std::index_sequence< Is... >)
 

Public Attributes

TupleCopyAssignableValueHolder< T > holder
 
tuple< Ts... > next
 

Friends

bool operator== (const tuple &LHS, const tuple &RHS)
 
bool operator!= (const tuple &LHS, const tuple &RHS)
 

Detailed Description

template<typename T, typename... Ts>
struct sycl::_V1::detail::tuple< T, Ts... >

Definition at line 115 of file tuple.hpp.

Member Typedef Documentation

◆ tuple_type

template<typename T , typename... Ts>
using sycl::_V1::detail::tuple< T, Ts... >::tuple_type = std::tuple<T, Ts...>

Definition at line 119 of file tuple.hpp.

Constructor & Destructor Documentation

◆ tuple() [1/5]

template<typename T , typename... Ts>
sycl::_V1::detail::tuple< T, Ts... >::tuple ( )
default

◆ tuple() [2/5]

template<typename T , typename... Ts>
sycl::_V1::detail::tuple< T, Ts... >::tuple ( const tuple< T, Ts... > &  )
default

◆ tuple() [3/5]

template<typename T , typename... Ts>
template<typename UT , typename... UTs>
sycl::_V1::detail::tuple< T, Ts... >::tuple ( const tuple< UT, UTs... > &  RHS)
inline

Definition at line 124 of file tuple.hpp.

◆ tuple() [4/5]

template<typename T , typename... Ts>
sycl::_V1::detail::tuple< T, Ts... >::tuple ( const T &  Value,
const Ts &...  Next 
)
inline

Definition at line 127 of file tuple.hpp.

◆ tuple() [5/5]

template<typename T , typename... Ts>
sycl::_V1::detail::tuple< T, Ts... >::tuple ( const std::tuple< T, Ts... > &  RHS)
inline

Definition at line 130 of file tuple.hpp.

Member Function Documentation

◆ operator std::tuple< T, Ts... >()

template<typename T , typename... Ts>
sycl::_V1::detail::tuple< T, Ts... >::operator std::tuple< T, Ts... > ( ) const
inline

Definition at line 134 of file tuple.hpp.

◆ operator std::tuple< UT, UTs... >()

template<typename T , typename... Ts>
template<typename UT , typename... UTs>
sycl::_V1::detail::tuple< T, Ts... >::operator std::tuple< UT, UTs... > ( ) const
inline

Definition at line 140 of file tuple.hpp.

◆ operator=() [1/3]

template<typename T , typename... Ts>
tuple& sycl::_V1::detail::tuple< T, Ts... >::operator= ( const detail::tuple< T, Ts... > &  )
default

◆ operator=() [2/3]

template<typename T , typename... Ts>
template<typename UT , typename... UTs>
tuple& sycl::_V1::detail::tuple< T, Ts... >::operator= ( const detail::tuple< UT, UTs... > &  RHS)
inline

Definition at line 146 of file tuple.hpp.

References sycl::_V1::detail::TupleValueHolder< T >::value.

◆ operator=() [3/3]

template<typename T , typename... Ts>
template<typename UT , typename... UTs>
tuple& sycl::_V1::detail::tuple< T, Ts... >::operator= ( const std::tuple< UT, UTs... > &  RHS)
inline

◆ to_std_tuple()

template<typename T , typename... Ts>
template<typename UT , typename... UTs, std::size_t... Is>
static std::tuple<UT, UTs...> sycl::_V1::detail::tuple< T, Ts... >::to_std_tuple ( const tuple< UT, UTs... > &  Tuple,
std::index_sequence< Is... >   
)
inlinestatic

Definition at line 173 of file tuple.hpp.

Friends And Related Function Documentation

◆ operator!=

template<typename T , typename... Ts>
bool operator!= ( const tuple< T, Ts... > &  LHS,
const tuple< T, Ts... > &  RHS 
)
friend

Definition at line 168 of file tuple.hpp.

◆ operator==

template<typename T , typename... Ts>
bool operator== ( const tuple< T, Ts... > &  LHS,
const tuple< T, Ts... > &  RHS 
)
friend

Definition at line 165 of file tuple.hpp.

Member Data Documentation

◆ holder

template<typename T , typename... Ts>
TupleCopyAssignableValueHolder<T> sycl::_V1::detail::tuple< T, Ts... >::holder

Definition at line 116 of file tuple.hpp.

◆ next

template<typename T , typename... Ts>
tuple<Ts...> sycl::_V1::detail::tuple< T, Ts... >::next

Definition at line 117 of file tuple.hpp.


The documentation for this struct was generated from the following file: