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

#include <sycl/detail/type_traits.hpp>

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

Public Types

using base_type = vector_element_t< vec< T, N > >
 
using upper_type = typename make_larger_impl< base_type, base_type >::type
 
using new_type = vec< 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, int N>
struct sycl::_V1::detail::make_larger_impl< vec< T, N >, vec< T, N > >

Definition at line 479 of file type_traits.hpp.

Member Typedef Documentation

◆ base_type

template<typename T , int N>
using sycl::_V1::detail::make_larger_impl< vec< T, N >, vec< T, N > >::base_type = vector_element_t<vec<T, N> >

Definition at line 480 of file type_traits.hpp.

◆ new_type

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

Definition at line 482 of file type_traits.hpp.

◆ type

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

Definition at line 484 of file type_traits.hpp.

◆ upper_type

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

Definition at line 481 of file type_traits.hpp.

Member Data Documentation

◆ found

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

Definition at line 483 of file type_traits.hpp.


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