Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Hg::ContainerSize< ContainerT > Struct Template Reference

Calculates the static size of the container passed in. This value is equivalent to the offset of the "end" item in the container. More...

#include <container_size.h>

Inheritance diagram for Hg::ContainerSize< ContainerT >:
Hg::type_check< type_container< ContainerT >::value >

Detailed Description

template<typename ContainerT>
struct Hg::ContainerSize< ContainerT >

Calculates the static size of the container passed in. This value is equivalent to the offset of the "end" item in the container.

Note
type_check: ContainerT must be a type_container Intrinsic value types such as char, float, int as well as user-defined classes will trigger this assertion.

Definition at line 79 of file container_size.h.


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