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

Template functor giving the not 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::NegOp< Type >

Template functor giving the not value.

Definition at line 372 of file STK_Functors.h.

Member Typedef Documentation

◆ param1_type

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

Definition at line 376 of file STK_Functors.h.

◆ result_type

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

Definition at line 375 of file STK_Functors.h.

Member Enumeration Documentation

◆ anonymous enum

template<class Type >
anonymous enum
Enumerator
NbParam_ 

Definition at line 374 of file STK_Functors.h.

374{ NbParam_ = 1 };

Member Function Documentation

◆ operator()()

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

Definition at line 378 of file STK_Functors.h.

378{ return !value;}

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