NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::type_traits Namespace Reference

Data Structures

struct  is_ndarray_int
 
struct  is_ndarray_int< NdArray< dtype, Allocator > >
 
struct  is_ndarray_signed_int
 
struct  is_ndarray_signed_int< NdArray< dtype, Allocator > >
 

Typedefs

template<typename T >
using ndarray_int_concept = std::enable_if_t< is_ndarray_int_v< T >, int >
 

Variables

template<typename T >
constexpr bool is_ndarray_int_v = is_ndarray_int<T>::value
 
template<typename T >
constexpr bool is_ndarray_signed_int_v = is_ndarray_signed_int<T>::value
 

Typedef Documentation

◆ ndarray_int_concept

template<typename T >
using nc::type_traits::ndarray_int_concept = typedef std::enable_if_t<is_ndarray_int_v<T>, int>

Variable Documentation

◆ is_ndarray_int_v

template<typename T >
constexpr bool nc::type_traits::is_ndarray_int_v = is_ndarray_int<T>::value
constexpr

◆ is_ndarray_signed_int_v

template<typename T >
constexpr bool nc::type_traits::is_ndarray_signed_int_v = is_ndarray_signed_int<T>::value
constexpr