|
Console Library 8.0.0
A header-only library that makes C++ simple
|
整除谓词。 More...
#include <gextra.h>
Public Member Functions | |
| bool | operator() (const T &x) const |
| 判断输入值是否能被 n 整除。 | |
Public Attributes | |
| T | n |
整除谓词。
| T | 元素类型。 |
|
inline |
判断输入值是否能被 n 整除。
| x | 输入值。 |
| T console::ops::DivisibleBy< T >::n |