GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave_int_cmp_op::prom< T1, T2 > Class Template Reference
Collaboration diagram for octave_int_cmp_op::prom< T1, T2 >:

Public Types

typedef query_integer_type< psize, psig >::type type
 

Static Private Attributes

static const bool pint
 
static const bool psig = (pint || (sizeof (T2) > sizeof (T1) && t2sig) || t1sig)
 
static const int psize
 
static const bool t1sig = std::numeric_limits<T1>::is_signed
 
static const bool t2sig = std::numeric_limits<T2>::is_signed
 

Detailed Description

template<typename T1, typename T2>
class octave_int_cmp_op::prom< T1, T2 >

Definition at line 124 of file oct-inttypes.h.

Member Typedef Documentation

◆ type

template<typename T1 , typename T2 >
typedef query_integer_type<psize, psig>::type octave_int_cmp_op::prom< T1, T2 >::type

Definition at line 142 of file oct-inttypes.h.

Member Data Documentation

◆ pint

template<typename T1 , typename T2 >
const bool octave_int_cmp_op::prom< T1, T2 >::pint
staticprivate
Initial value:
= (sizeof (T1) < sizeof (int)
&& sizeof (T2) < sizeof (int))

Definition at line 127 of file oct-inttypes.h.

◆ psig

template<typename T1 , typename T2 >
const bool octave_int_cmp_op::prom< T1, T2 >::psig = (pint || (sizeof (T2) > sizeof (T1) && t2sig) || t1sig)
staticprivate

Definition at line 133 of file oct-inttypes.h.

◆ psize

template<typename T1 , typename T2 >
const int octave_int_cmp_op::prom< T1, T2 >::psize
staticprivate
Initial value:
= (pint
? sizeof (int)
: (sizeof (T2) > sizeof (T1) ? sizeof (T2) : sizeof (T1)))
static const bool pint
Definition: oct-inttypes.h:127

Definition at line 136 of file oct-inttypes.h.

◆ t1sig

template<typename T1 , typename T2 >
const bool octave_int_cmp_op::prom< T1, T2 >::t1sig = std::numeric_limits<T1>::is_signed
staticprivate

Definition at line 130 of file oct-inttypes.h.

◆ t2sig

template<typename T1 , typename T2 >
const bool octave_int_cmp_op::prom< T1, T2 >::t2sig = std::numeric_limits<T2>::is_signed
staticprivate

Definition at line 131 of file oct-inttypes.h.


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