Public Types | Static Public Attributes
ash::m_pow< T, x, n > Struct Template Reference

Power meta: value = x ^ n . More...

#include <ash/meta_morton.h>

Inheritance diagram for ash::m_pow< T, x, n >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T value_type
 The wrapped type.
typedef integral_constant< T, v > type
 The wrapper type.

Static Public Attributes

static const T value
 The wrapped value.

Detailed Description

template<typename T, T x, uint8 n>
struct ash::m_pow< T, x, n >

Power meta: value = x ^ n .

Template Parameters:
TThe integral type to use.
xThe value to power.
nThe power.
Examples:
omp_example/main.cpp.

Member Typedef Documentation

typedef integral_constant<T, v> ash::trait::integral_constant< T, v >::type [inherited]

The wrapper type.

typedef T ash::trait::integral_constant< T, v >::value_type [inherited]

The wrapped type.


Member Data Documentation

const T ash::trait::integral_constant< T, v >::value [static, inherited]

The wrapped value.


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


© 2012   AshTL
Licensed under  AGPLv3
Hosted by  Get AshTL at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated by  doxygen 1.7.4