6#warning "This header is deprecated and will be removed after release 2.8. Use std::lcm instead."
30 template<
long m,
long n>
31 struct [[deprecated("Will be removed after
Dune 2.8. Use
std::lcm instead.")]]
Lcm
33 static void conceptCheck()
35 static_assert(0<m,
"m must be positive!");
36 static_assert(0<n,
"n must be positive!");
42 constexpr static long value = std::lcm(m,n);
Dune namespace.
Definition: alignedallocator.hh:11
Calculate the least common multiple of two numbers.
Definition: lcm.hh:32