- Home
- About DUNE
- Download
- Documentation
- Community
- Development
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) |
This file implements a template class to determine alignment requirements of types at compile time.
#define ALIGNMENT_MIN | ( | a, | ||
b | ||||
) |
(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, | ||
b | ||||
) |
(a % b == 0 ? \ static_cast<std::size_t>(b) : \ static_cast<std::size_t>(a % b))
char c |
Referenced by Dune::tuple_writer< i >::get(), and Dune::DynamicVector< K >::resize().
char padding1[N] |
char padding2[N2] |
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].