GNU Octave  4.4.1
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
 
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 144 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 157 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 147 of file oct-inttypes.h.

◆ psig

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

Definition at line 151 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)))

Definition at line 153 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 149 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 150 of file oct-inttypes.h.


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