xtensor
Loading...
Searching...
No Matches
xt::const_value< T > Struct Template Reference

Public Types

using value_type = T
 
template<class NT >
using rebind_t = const_value<NT>
 

Public Member Functions

constexpr const_value (T t)
 
constexproperator() () const
 
template<class NT >
const_value< NTrebind () const
 

Public Attributes

m_value
 

Detailed Description

template<class T>
struct xt::const_value< T >

Definition at line 581 of file xreducer.hpp.

Member Typedef Documentation

◆ rebind_t

template<class T >
template<class NT >
using xt::const_value< T >::rebind_t = const_value<NT>

Definition at line 598 of file xreducer.hpp.

◆ value_type

template<class T >
using xt::const_value< T >::value_type = T

Definition at line 583 of file xreducer.hpp.

Constructor & Destructor Documentation

◆ const_value()

template<class T >
constexpr xt::const_value< T >::const_value ( T t)
inlineconstexpr

Definition at line 587 of file xreducer.hpp.

Member Function Documentation

◆ operator()()

template<class T >
constexpr T xt::const_value< T >::operator() ( ) const
inlineconstexpr

Definition at line 592 of file xreducer.hpp.

◆ rebind()

template<class T >
template<class NT >
const_value< NT > xt::const_value< T >::rebind ( ) const

Definition at line 1225 of file xreducer.hpp.

Member Data Documentation

◆ m_value

template<class T >
T xt::const_value< T >::m_value

Definition at line 603 of file xreducer.hpp.


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