Block-Structured AMR Software Framework
amrex::detail::gpu_tuple_element< I, T > Struct Template Reference

#include <AMReX_Tuple.H>

Public Member Functions

template<typename U = T, std::enable_if_t< std::is_default_constructible_v< U >, int > = 0>
constexpr AMREX_GPU_HOST_DEVICE gpu_tuple_element ()
 
constexpr gpu_tuple_element (T const &a_value)
 
template<typename U , std::enable_if_t< std::is_convertible_v< U &&, T >, int > = 0>
constexpr gpu_tuple_element (U &&a_value)
 

Public Attributes

m_value {}
 

Constructor & Destructor Documentation

◆ gpu_tuple_element() [1/3]

template<std::size_t I, typename T >
template<typename U = T, std::enable_if_t< std::is_default_constructible_v< U >, int > = 0>
constexpr AMREX_GPU_HOST_DEVICE amrex::detail::gpu_tuple_element< I, T >::gpu_tuple_element ( )
inlineconstexpr

◆ gpu_tuple_element() [2/3]

template<std::size_t I, typename T >
constexpr amrex::detail::gpu_tuple_element< I, T >::gpu_tuple_element ( T const &  a_value)
inlineexplicitconstexpr

◆ gpu_tuple_element() [3/3]

template<std::size_t I, typename T >
template<typename U , std::enable_if_t< std::is_convertible_v< U &&, T >, int > = 0>
constexpr amrex::detail::gpu_tuple_element< I, T >::gpu_tuple_element ( U &&  a_value)
inlineexplicitconstexpr

Member Data Documentation

◆ m_value

template<std::size_t I, typename T >
T amrex::detail::gpu_tuple_element< I, T >::m_value {}

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