Template Class prime_generator
Defined in File primes.hpp
Class Documentation
-
template<class PRIMES_IMPLEMENTATION = euler_sieve_sqrt>
class prime_generator Simple generator for getting primes.
This is suboptimal, and not the suggested way to get primes.
Public Functions
-
inline primes<PRIMES_IMPLEMENTATION>::value_type operator()()
-
inline primes<PRIMES_IMPLEMENTATION>::value_type operator()()