Dune Core Modules (2.5.0)

Dune::AlignmentOf< T > Struct Template Reference

Calculates the alignment requirement of a type. More...

#include <dune/common/alignment.hh>

Public Types

enum  { value = std::alignment_of<T>::value }
 

Detailed Description

template<class T>
struct Dune::AlignmentOf< T >

Calculates the alignment requirement of a type.

See also
http://en.wikipedia.org/wiki/Data_structure_alignment

This will be a safe value and not an optimal one. If TR1 is available it falls back to std::alignment_of.

Member Enumeration Documentation

◆ anonymous enum

template<class T >
anonymous enum
Enumerator
value 

The alignment requirement.


The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 23, 23:29, 2024)