Alchemy  1.0
A framework to robustly process network messages and structured data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros
meta_macros.h File Reference

Utility MACROS used to simplify the definitions for many of the TMP constructs. More...

#include <Pb/detail/boost_preprocessor.h>

Go to the source code of this file.

Macros

#define BEGIN_NAMESPACE(NS)   namespace NS {
 Additional copyright information: More...
 
#define TMP_ARRAY_1(T)   T##0
 
#define TMP_REPEAT_1(T)   T
 

Detailed Description

Utility MACROS used to simplify the definitions for many of the TMP constructs.

MACROS: TMP_ARRAY_X To simplify multiple repetitive declarations TMP_REPEAT_X Repeats in the input the number of times specified

The MIT License(MIT)

Definition in file meta_macros.h.

Macro Definition Documentation

#define BEGIN_NAMESPACE (   NS)    namespace NS {

Additional copyright information:

This MACRO was adapted from the BOOST Preprocessing library. Copyright Housemarque Oy 2002 Copyright Paul Mensonides 2002

Distributed under the Boost Software License, Version 1.0. (See at www.boost.org/LICENSE_1_0.txt

Definition at line 30 of file meta_macros.h.

#define TMP_ARRAY_1 (   T)    T##0

MACRO set to simplify the declaration of many array entries

Definition at line 45 of file meta_macros.h.

#define TMP_REPEAT_1 (   T)    T

MACROS used to simplify the replication of an item

Definition at line 83 of file meta_macros.h.