NumCpp  2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
nc::is_valid_dtype< dtype > Struct Template Reference

#include <TypeTraits.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename dtype>
struct nc::is_valid_dtype< dtype >

Template class for determining if dtype is a valid dtype for NdArray

Field Documentation

◆ value

template<typename dtype >
constexpr bool nc::is_valid_dtype< dtype >::value
staticconstexpr
Initial value:
=
std::is_default_constructible<dtype>::value && std::is_nothrow_copy_constructible<dtype>::value &&
std::is_nothrow_move_constructible<dtype>::value && std::is_nothrow_copy_assignable<dtype>::value &&
std::is_nothrow_move_assignable<dtype>::value && std::is_nothrow_destructible<dtype>::value &&
!std::is_void<dtype>::value && !std::is_pointer<dtype>::value && !std::is_array<dtype>::value &&
!std::is_union<dtype>::value && !std::is_function<dtype>::value && !std::is_abstract<dtype>::value

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