DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Member Functions | List of all members
Diades::Utils::AlwaysTrue< Object > Struct Template Reference

#include <Functors.hh>

Public Member Functions

bool operator() (const Object &obj) const
 

Additional Inherited Members

- Public Types inherited from Diades::Utils::UnaryPredicate< Object >
using Object = Object
 

Detailed Description

template<typename Object>
struct Diades::Utils::AlwaysTrue< Object >

AlwaysTrue unary functor Returns true whatever the object is

Definition at line 63 of file Functors.hh.

Member Function Documentation

◆ operator()()

template<typename Object >
bool Diades::Utils::AlwaysTrue< Object >::operator() ( const Object obj) const
inline
Parameters
objan object
Returns
true

Definition at line 71 of file Functors.hh.


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