Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::Le< T > Struct Template Reference

小于等于谓词。 More...

#include <gen.h>

Public Member Functions

template<class U>
bool operator() (const U &x) const
 判断输入值是否小于等于阈值。

Public Attributes

T threshold

Detailed Description

template<class T>
struct console::ops::Le< T >

小于等于谓词。

Template Parameters
T阈值类型。

Member Function Documentation

◆ operator()()

template<class T>
template<class U>
bool console::ops::Le< T >::operator() ( const U & x) const
inline

判断输入值是否小于等于阈值。

Parameters
x输入值。
Returns
x <= threshold。

Member Data Documentation

◆ threshold

template<class T>
T console::ops::Le< T >::threshold

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