μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Static Public Attributes | List of all members
vectorize_arg< T > Struct Template Reference

#include </builds/ipbus/ipbus-software/uhal/python/pybind11-python2/include/pybind11/numpy.h>

Public Types

using call_type = remove_reference_t< T >
 
using type = conditional_t< vectorize, array_t< remove_cv_t< call_type >, array::forcecast >, T >
 
using call_type = remove_reference_t< T >
 
using type = conditional_t< vectorize, array_t< remove_cv_t< call_type >, array::forcecast >, T >
 

Static Public Attributes

static constexpr bool vectorize
 

Detailed Description

template<typename T>
struct vectorize_arg< T >

Definition at line 1706 of file numpy.h.

Member Typedef Documentation

◆ call_type [1/2]

template<typename T >
using vectorize_arg< T >::call_type = remove_reference_t<T>

Definition at line 1710 of file numpy.h.

◆ call_type [2/2]

template<typename T >
using vectorize_arg< T >::call_type = remove_reference_t<T>

Definition at line 1738 of file numpy.h.

◆ type [1/2]

Definition at line 1722 of file numpy.h.

◆ type [2/2]

Definition at line 1750 of file numpy.h.

Member Data Documentation

◆ vectorize

template<typename T >
static constexpr bool vectorize_arg< T >::vectorize
staticconstexpr
Initial value:
std::is_pointer,
std::is_array,
std::is_enum>::value
&& (!std::is_reference<T>::value
|| (std::is_lvalue_reference<T>::value && std::is_const<call_type>::value))
remove_reference_t< T > call_type
Definition: numpy.h:1710

Definition at line 1712 of file numpy.h.


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