dune-common 2.1.1
|
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] |
T t |
Referenced by Dune::fmatrix_assigner< T, n, m >::append(), Dune::fvector_assigner< T, s >::append(), Dune::PointerPairDeletor< Tuple >::apply(), Dune::AddPtrTypeEvaluator< T & >::apply(), Dune::AddPtrTypeEvaluator< T >::apply(), Dune::AddRefTypeEvaluator< T >::apply(), Dune::array< FieldVector< K, COLS >, ROWS >::assign(), Dune::className(), Dune::FieldMatrix< T, n, m >::FieldMatrix(), Dune::At< N >::get(), Dune::tuple_writer< 1 >::get(), Dune::tuple_writer< i >::get(), Dune::get(), Dune::operator<<=(), Dune::DenseMatrix< DynamicMatrix< K > >::operator=(), Dune::ReservedVector< T, n >::push_back(), Dune::tuple_writer< 1 >::put(), Dune::tuple_writer< i >::put(), Dune::SQR(), and Dune::shared_ptr< T >::stackobject_to_shared_ptr().