Public Types

ConstPower< arg, exp > Struct Template Reference

A template for constructing integer constants. More...

#include <ConstPower.h>

List of all members.

Public Types

enum  { ans = ConstPower < arg, arg, ans = ConstPower < arg }

Detailed Description

template<unsigned arg, unsigned exp>
struct ConstPower< arg, exp >

A template for constructing integer constants.

ConstPower< arg, exp>::ans is the constant integer value of arg^exp


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