Sacado Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Sacado::mpl::integral_nonzero_constant< T, v, NonZero > Struct Template Reference

#include <Sacado_mpl_integral_nonzero_constant.hpp>

Inheritance diagram for Sacado::mpl::integral_nonzero_constant< T, v, NonZero >:
Inheritance graph
[legend]

Public Types

enum  { value = T(v) }
 
typedef T value_type
 
typedef integral_nonzero_constant< T, v > type
 

Public Member Functions

SACADO_INLINE_FUNCTION integral_nonzero_constant (const T &)
 

Detailed Description

template<typename T, T v, bool NonZero = ( v != T(0) )>
struct Sacado::mpl::integral_nonzero_constant< T, v, NonZero >

Definition at line 40 of file Sacado_mpl_integral_nonzero_constant.hpp.

Member Typedef Documentation

◆ value_type

template<typename T , T v, bool NonZero = ( v != T(0) )>
typedef T Sacado::mpl::integral_nonzero_constant< T, v, NonZero >::value_type

Definition at line 43 of file Sacado_mpl_integral_nonzero_constant.hpp.

◆ type

template<typename T , T v, bool NonZero = ( v != T(0) )>
typedef integral_nonzero_constant<T,v> Sacado::mpl::integral_nonzero_constant< T, v, NonZero >::type

Definition at line 44 of file Sacado_mpl_integral_nonzero_constant.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename T , T v, bool NonZero = ( v != T(0) )>
anonymous enum
Enumerator
value 

Definition at line 42 of file Sacado_mpl_integral_nonzero_constant.hpp.

Constructor & Destructor Documentation

◆ integral_nonzero_constant()

template<typename T , T v, bool NonZero = ( v != T(0) )>
SACADO_INLINE_FUNCTION Sacado::mpl::integral_nonzero_constant< T, v, NonZero >::integral_nonzero_constant ( const T )
inline

Definition at line 45 of file Sacado_mpl_integral_nonzero_constant.hpp.


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