Hi All,
This is a newbie mpl question, and here goes:
How can evaluate integer powers using mpl? Such as,
template < unsigned Pow, class Real > Real pow( Real r )
{
return <compile time r*r*r* ... r > ;
// the expression is compile time,
// not the result of course.
}