clang 20.0.0git
Classes | Typedefs | Functions
hlsl::__detail Namespace Reference

Classes

struct  enable_if
 
struct  enable_if< true, T >
 

Typedefs

template<bool B, class T = void>
using enable_if_t = typename enable_if< B, T >::Type
 

Functions

template<typename U , typename T , int N>
constexpr enable_if_t< sizeof(U)==sizeof(T), vector< U, N > > bit_cast (vector< T, N > V)
 
template<typename U , typename T >
constexpr enable_if_t< sizeof(U)==sizeof(T), Ubit_cast (T F)
 

Typedef Documentation

◆ enable_if_t

template<bool B, class T = void>
using hlsl::__detail::enable_if_t = typedef typename enable_if<B, T>::Type

Definition at line 23 of file hlsl_detail.h.

Function Documentation

◆ bit_cast() [1/2]

template<typename U , typename T >
constexpr enable_if_t< sizeof(U)==sizeof(T), U > hlsl::__detail::bit_cast ( F)
constexpr

Definition at line 32 of file hlsl_detail.h.

◆ bit_cast() [2/2]

template<typename U , typename T , int N>
constexpr enable_if_t< sizeof(U)==sizeof(T), vector< U, N > > hlsl::__detail::bit_cast ( vector< T, N >  V)
constexpr

Definition at line 27 of file hlsl_detail.h.

References V.