claw 1.9.0
 
Loading...
Searching...
No Matches
claw::unary_true< T > Class Template Reference

Always true unary predicate. More...

#include <functional.hpp>

Public Types

using argument_type = const T&
 
using result_type = bool
 

Public Member Functions

bool operator() (const T &t) const
 

Detailed Description

template<class T>
class claw::unary_true< T >

Always true unary predicate.

Template arguments:

  • T Doesn't matter.
Remarks
Use it when you need to process all elements but a method needs an unary predicate parameter.
Author
Julien Jorge

Definition at line 182 of file functional.hpp.

Member Typedef Documentation

◆ argument_type

template<class T>
using claw::unary_true< T >::argument_type = const T&

Definition at line 185 of file functional.hpp.

◆ result_type

template<class T>
using claw::unary_true< T >::result_type = bool

Definition at line 186 of file functional.hpp.

Member Function Documentation

◆ operator()()

template<class T>
bool claw::unary_true< T >::operator() ( const T & t) const
inline

Definition at line 189 of file functional.hpp.


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