tuple_element_or_default< Tuple_, Idx, DefaultType > Struct Template Reference

tuple_element_or_default&lt; Tuple_, Idx, DefaultType &gt; Struct Template Reference#

Composable Kernel: ck_tile::tuple_element_or_default< Tuple_, Idx, DefaultType > Struct Template Reference
ck_tile::tuple_element_or_default< Tuple_, Idx, DefaultType > Struct Template Reference

#include <type_traits.hpp>

Public Types

using Tuple = remove_cvref_t<Tuple_>
using type

Static Public Attributes

static constexpr bool is_within_bounds = Idx < std::tuple_size_v<Tuple>

Member Typedef Documentation

◆ Tuple

template<typename Tuple_, std::size_t Idx, typename DefaultType>
using ck_tile::tuple_element_or_default< Tuple_, Idx, DefaultType >::Tuple = remove_cvref_t<Tuple_>

◆ type

template<typename Tuple_, std::size_t Idx, typename DefaultType>
using ck_tile::tuple_element_or_default< Tuple_, Idx, DefaultType >::type
Initial value:
typename detail::
tuple_element_or_default_dispatch<is_within_bounds, Idx, Tuple, DefaultType>::type

Member Data Documentation

◆ is_within_bounds

template<typename Tuple_, std::size_t Idx, typename DefaultType>
bool ck_tile::tuple_element_or_default< Tuple_, Idx, DefaultType >::is_within_bounds = Idx < std::tuple_size_v<Tuple>
staticconstexpr

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