Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
List of all members
Hg::OffsetOf< Index, ContainerT > Struct Template Reference

Calculate the pointer offset in bytes for the specified type. More...

#include <offset_of.h>

Detailed Description

template<size_t Index, typename ContainerT>
struct Hg::OffsetOf< Index, ContainerT >

Calculate the pointer offset in bytes for the specified type.

One definition is required for every specialization of the array. The array currently supports 32 index entries. The hand written version of this function for the array is 500 lines longs. Therefore, the following MACRO will be used to create the required definitions:

    tmp_ALCHEMY_TYPELIST_OFFSETOF(...)

    More details further below.

Definition at line 59 of file meta_fwd.h.


The documentation for this struct was generated from the following files: