DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::make_larger_impl< marray< T, N >, marray< T, N > > Struct Template Reference

#include <sycl/detail/type_traits.hpp>

Collaboration diagram for sycl::_V1::detail::make_larger_impl< marray< T, N >, marray< T, N > >:

Public Types

using base_type = marray_element_t< marray< T, N > >
 
using upper_type = typename make_larger_impl< base_type, base_type >::type
 
using new_type = marray< upper_type, N >
 
using type = std::conditional_t< found, new_type, void >
 

Static Public Attributes

static constexpr bool found = !std::is_same_v<upper_type, void>
 

Detailed Description

template<typename T, size_t N>
struct sycl::_V1::detail::make_larger_impl< marray< T, N >, marray< T, N > >

Definition at line 489 of file type_traits.hpp.

Member Typedef Documentation

◆ base_type

template<typename T , size_t N>
using sycl::_V1::detail::make_larger_impl< marray< T, N >, marray< T, N > >::base_type = marray_element_t<marray<T, N> >

Definition at line 490 of file type_traits.hpp.

◆ new_type

template<typename T , size_t N>
using sycl::_V1::detail::make_larger_impl< marray< T, N >, marray< T, N > >::new_type = marray<upper_type, N>

Definition at line 492 of file type_traits.hpp.

◆ type

template<typename T , size_t N>
using sycl::_V1::detail::make_larger_impl< marray< T, N >, marray< T, N > >::type = std::conditional_t<found, new_type, void>

Definition at line 494 of file type_traits.hpp.

◆ upper_type

template<typename T , size_t N>
using sycl::_V1::detail::make_larger_impl< marray< T, N >, marray< T, N > >::upper_type = typename make_larger_impl<base_type, base_type>::type

Definition at line 491 of file type_traits.hpp.

Member Data Documentation

◆ found

template<typename T , size_t N>
constexpr bool sycl::_V1::detail::make_larger_impl< marray< T, N >, marray< T, N > >::found = !std::is_same_v<upper_type, void>
staticconstexpr

Definition at line 493 of file type_traits.hpp.


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