Skip to content
Snippets Groups Projects
Commit d16b2c64 authored by Oliver Sander's avatar Oliver Sander
Browse files

deprecate Power_m_p (hope this is the correct way)

[[Imported from SVN: r7038]]
parent e917ea4f
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ namespace Dune {
//! Calculates m^p at compile time
template <int m, int p>
struct Power_m_p
struct DUNE_DEPRECATED_MSG ("Use class StaticPower from file power.hh instead")Power_m_p
{
// power stores m^p
enum { power = (m * Power_m_p<m,p-1>::power ) };
......@@ -75,7 +75,7 @@ namespace Dune {
//! end of recursion via specialization
template <int m>
struct Power_m_p< m , 0>
struct DUNE_DEPRECATED_MSG ("Use class StaticPower from file power.hh instead")Power_m_p< m , 0>
{
// m^0 = 1
enum { power = 1 };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment