Console Library
8.0.0
A header-only library that makes C++ simple
Toggle main menu visibility
Loading...
Searching...
No Matches
console::ops::odd_t Struct Reference
奇数谓词。
More...
#include <
gen.h
>
Public Member Functions
template<class T>
bool
operator()
(T x) const
判断输入值是否为奇数。
Detailed Description
奇数谓词。
Member Function Documentation
◆
operator()()
template<class T>
bool console::ops::odd_t::operator()
(
T
x
)
const
inline
判断输入值是否为奇数。
Parameters
x
输入值。
Returns
x % 2 != 0。
The documentation for this struct was generated from the following file:
include/util/
gen.h
console
ops
odd_t
Generated on
for Console Library by
1.18.0