CMS 3D CMS Logo

Public Types | Static Public Attributes

edm::soahelper::AlignmentHelper< T > Struct Template Reference

#include <SoATupleHelper.h>

List of all members.

Public Types

typedef T Type

Static Public Attributes

static const std::size_t kAlignment = alignof(T)

Detailed Description

template<typename T>
struct edm::soahelper::AlignmentHelper< T >

Class used by SoATupleHelper to determine the proper alignment of the requested type. The default is to just use 'alignof(T)'. Users can change the alignment by instead using Aligned<T,ALIGNMENT> for which AlignmentHelper has a specialization.

Definition at line 78 of file SoATupleHelper.h.


Member Typedef Documentation

template<typename T >
typedef T edm::soahelper::AlignmentHelper< T >::Type

Definition at line 80 of file SoATupleHelper.h.


Member Data Documentation

template<typename T >
const std::size_t edm::soahelper::AlignmentHelper< T >::kAlignment = alignof(T) [static]

Definition at line 79 of file SoATupleHelper.h.