type.hpp File Reference

type.hpp File Reference#

Composable Kernel: type.hpp File Reference
type.hpp File Reference
#include "ck/ck.hpp"
#include "ck/utility/enable_if.hpp"
#include "ck/utility/integral_constant.hpp"
#include <utility>
#include <type_traits>

Go to the source code of this file.

Classes

struct  ck::is_same< X, Y >
struct  ck::is_same< X, X >
struct  ck::is_floating_point< X >
struct  ck::is_floating_point< float >
struct  ck::is_floating_point< double >
struct  ck::is_floating_point< long double >
struct  ck::is_integral< X >
struct  ck::is_integral< int >
struct  ck::is_integral< unsigned int >
struct  ck::is_integral< long >
struct  ck::is_integral< unsigned long >
struct  ck::is_integral< short >
struct  ck::is_integral< unsigned short >
struct  ck::is_integral< long long >
struct  ck::is_integral< unsigned long long >
struct  ck::is_integral< char >
struct  ck::is_integral< signed char >
struct  ck::is_integral< unsigned char >
struct  ck::is_integral< wchar_t >
struct  ck::is_integral< char16_t >
struct  ck::is_integral< char32_t >
struct  ck::is_integral< bool >

Namespaces

namespace  ck

Typedefs

template<typename T>
using ck::remove_reference_t = typename remove_reference<T>::type
template<typename T>
using ck::remove_cv_t = typename remove_cv<T>::type
template<typename T>
using ck::remove_cvref_t = remove_cv_t<remove_reference_t<T>>
template<typename T>
using ck::remove_pointer_t = typename remove_pointer<T>::type

Functions

template<typename Y, typename X, typename enable_if< sizeof(X)==sizeof(Y), bool >::type = false>
__host__ __device__ constexpr Y ck::bit_cast (const X &x)

Variables

template<typename X, typename Y>
constexpr bool ck::is_same_v = is_same<X, Y>::value
template<typename X, typename Y>
constexpr bool ck::is_base_of_v = is_base_of<X, Y>::value
template<typename T>
constexpr bool ck::is_unsigned_v = is_unsigned<T>::value
template<typename T>
constexpr bool ck::is_pointer_v = is_pointer<T>::value