libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::mpl::sieve_of_eratosthenes< E, MN > Class Template Reference

#include <prime_numbers.hpp>

Public Types

typedef E element_type
 
typedef std::vector< element_typeprimes_colln
 

Static Public Member Functions

static primes_colln result () noexcept(false)
 

Static Public Attributes

static constexpr element_type max_num =MN
 

Detailed Description

template<class E, E MN>
class jmmcg::LIBJMMCG_VER_NAMESPACE::mpl::sieve_of_eratosthenes< E, MN >

Definition at line 68 of file prime_numbers.hpp.

Member Typedef Documentation

◆ element_type

template<class E , E MN>
typedef E jmmcg::LIBJMMCG_VER_NAMESPACE::mpl::sieve_of_eratosthenes< E, MN >::element_type

Definition at line 70 of file prime_numbers.hpp.

◆ primes_colln

template<class E , E MN>
typedef std::vector<element_type> jmmcg::LIBJMMCG_VER_NAMESPACE::mpl::sieve_of_eratosthenes< E, MN >::primes_colln

Definition at line 71 of file prime_numbers.hpp.

Member Function Documentation

◆ result()

template<class E , E MN>
static primes_colln jmmcg::LIBJMMCG_VER_NAMESPACE::mpl::sieve_of_eratosthenes< E, MN >::result ( )
inlinestaticnoexcept

Member Data Documentation

◆ max_num

template<class E , E MN>
constexpr element_type jmmcg::LIBJMMCG_VER_NAMESPACE::mpl::sieve_of_eratosthenes< E, MN >::max_num =MN
staticconstexpr

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