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

逻辑非组合器。 More...

#include <gen.h>

Public Member Functions

template<class T>
bool operator() (const T &x) const
 对输入值应用谓词并返回逻辑非结果。

Public Attributes

P p

Detailed Description

template<class P>
struct console::ops::Not< P >

逻辑非组合器。

Template Parameters
P谓词类型。

Member Function Documentation

◆ operator()()

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

对输入值应用谓词并返回逻辑非结果。

Parameters
x输入值。
Returns
!p(x)。

Member Data Documentation

◆ p

template<class P>
P console::ops::Not< P >::p

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