STK++ 0.9.13
STK::IsFiniteOp< Type > Struct Template Reference

Template functor testing if a number is a finite value. More...

#include <STK_Functors.h>

Public Types

enum  { NbParam_ = 1 }
 
typedef bool result_type
 
typedef hidden::RemoveConst< Type >::Type param1_type
 

Public Member Functions

result_type operator() (param1_type const &value) const
 

Detailed Description

template<class Type>
struct STK::IsFiniteOp< Type >

Template functor testing if a number is a finite value.

Definition at line 384 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

template<class Type >
typedef hidden::RemoveConst<Type>::Type STK::IsFiniteOp< Type >::param1_type

Definition at line 388 of file STK_Functors.h.

◆ result_type

template<class Type >
typedef bool STK::IsFiniteOp< Type >::result_type

Definition at line 387 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Type >
anonymous enum
Enumerator
NbParam_ 

Definition at line 386 of file STK_Functors.h.

386{ NbParam_ = 1 };

Member Function Documentation

◆ operator()()

template<class Type >
result_type STK::IsFiniteOp< Type >::operator() ( param1_type const value) const
inline

Definition at line 390 of file STK_Functors.h.

391 { return Arithmetic<param1_type>::isFinite(value);}
static bool isFinite(Type const &x)

References STK::Arithmetic< Type >::isFinite().


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