alignment.hh File Reference

This file implements a template class to determine alignment requirements of types at compile time. More...

Go to the source code of this file.

Classes

struct  Dune::AlignmentOf< T >
 Calculates the alignment requirement of a type. More...

Namespaces

namespace  Dune
 

Dune namespace.


Defines

#define ALIGNMENT_MODULO(a, b)
#define ALIGNMENT_MIN(a, b)

Detailed Description

This file implements a template class to determine alignment requirements of types at compile time.

Author:
Markus Blatt

Define Documentation

#define ALIGNMENT_MIN ( a,
 ) 
Value:
(static_cast<std::size_t>(a) <   \
                                     static_cast<std::size_t>(b) ? \
                                     static_cast<std::size_t>(a) : \
                                     static_cast<std::size_t>(b))
#define ALIGNMENT_MODULO ( a,
 ) 
Value:
(a % b == 0 ? \
                                     static_cast<std::size_t>(b) : \
                                     static_cast<std::size_t>(a % b))

Variable Documentation

char c
char padding1[N]
char padding2[N2]
T t
Generated on Mon Apr 26 10:45:22 2010 for dune-common by  doxygen 1.6.3