Fill a std::vector with primes.
#include <vector>
int main()
{
std::vector<int> primes;
primes.clear();
primes.clear();
primes.clear();
return 0;
}
void generate_primes(uint64_t stop, vect *primes)
Appends the primes <= stop to the end of the primes vector.
Definition: primesieve.hpp:34
void generate_n_primes(uint64_t n, vect *primes)
Appends the first n primes to the end of the primes vector.
Definition: primesieve.hpp:56