Dali 3D User Interface Engine
List of all members | Static Public Attributes
Dali::Internal::TypeSizeWithAlignment< T > Struct Template Reference

Calculate the size of a type taking alignment into account. More...

#include <fixed-size-memory-pool.h>

Static Public Attributes

static const size_t size = ( ( sizeof( T ) + sizeof( void* ) - 1 ) / sizeof( void* ) ) * sizeof( void* )
 < The size of the type with alignment taken into account More...
 

Detailed Description

template<typename T>
struct Dali::Internal::TypeSizeWithAlignment< T >

Calculate the size of a type taking alignment into account.

Definition at line 35 of file fixed-size-memory-pool.h.

Member Data Documentation

template<typename T >
const size_t Dali::Internal::TypeSizeWithAlignment< T >::size = ( ( sizeof( T ) + sizeof( void* ) - 1 ) / sizeof( void* ) ) * sizeof( void* )
static

< The size of the type with alignment taken into account

Definition at line 38 of file fixed-size-memory-pool.h.


The documentation for this struct was generated from the following file:
Dali Docs Home
Read more about Dali