Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::ops::prime_t Struct Reference

素数谓词。 More...

#include <gen.h>

Public Member Functions

template<class Int>
bool operator() (Int n) const
 判断输入值是否为素数。

Detailed Description

素数谓词。

Member Function Documentation

◆ operator()()

template<class Int>
bool console::ops::prime_t::operator() ( Int n) const
inline

判断输入值是否为素数。

Parameters
n输入值。
Returns
是否为素数。

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