power10_aux< N, Even > Struct Template Reference

#include <power10.hpp>

List of all members.

Public Types

enum  t { value = 10 * power10<N - 1>::value }


Detailed Description

template<int N, bool Even>
struct power10_aux< N, Even >

Metaprogram to raise 10 to the Nth. If N is even, Even is true. This base case is for Even == false so it computes its value by multiplying N - 1 by 10.

Definition at line 24 of file power10.hpp.


Member Enumeration Documentation

template<int N, bool Even>
enum power10_aux::t

Enumerator:
value 

Definition at line 27 of file power10.hpp.


The documentation for this struct was generated from the following file:
Generated on Sun Nov 30 09:53:23 2008 for Exploring C++ - Final Forms of Key Examples by  doxygen 1.5.3