BlackCat_Tensors
A GPU-supported autograd and linear algebra library, designed for neural network construction
Public Types | List of all members
bc::traits::common_traits< T > Struct Template Reference

#include <type_traits.h>

Inheritance diagram for bc::traits::common_traits< T >:
Inheritance graph
[legend]

Public Types

using type = T
 
using defines_value_type = truth_type< is_detected_v< query_value_type, T > >
 
using defines_allocator_type = truth_type< is_detected_v< query_allocator_type, T > >
 
using defines_system_tag = truth_type< is_detected_v< query_system_tag, T > >
 
using defines_get_stream = truth_type< is_detected_v< query_get_stream, T > >
 
using defines_get_allocator = truth_type< is_detected_v< query_get_allocator, T > >
 
using value_type = conditional_detected_t< query_value_type, T, None >
 
using allocator_type = conditional_detected_t< query_allocator_type, T, None >
 
using system_tag = conditional_detected_t< query_system_tag, T, host_tag >
 

Member Typedef Documentation

◆ allocator_type

◆ defines_allocator_type

template<class T >
using bc::traits::common_traits< T >::defines_allocator_type = truth_type<is_detected_v<query_allocator_type, T> >

◆ defines_get_allocator

template<class T >
using bc::traits::common_traits< T >::defines_get_allocator = truth_type<is_detected_v<query_get_allocator, T> >

◆ defines_get_stream

template<class T >
using bc::traits::common_traits< T >::defines_get_stream = truth_type<is_detected_v<query_get_stream, T> >

◆ defines_system_tag

template<class T >
using bc::traits::common_traits< T >::defines_system_tag = truth_type<is_detected_v<query_system_tag, T> >

◆ defines_value_type

template<class T >
using bc::traits::common_traits< T >::defines_value_type = truth_type<is_detected_v<query_value_type, T> >

◆ system_tag

◆ type

template<class T >
using bc::traits::common_traits< T >::type = T

◆ value_type


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