Skip to content
Snippets Groups Projects
Commit 15369722 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add preprocessor macros

parent 3c853c20
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,9 @@ SET(SOURCES
SET(INCLUDES
SimoxUtility.h
preprocessor/variadic_for_each.h
preprocessor/drop_front.h
algorithm/for_each_if.h
algorithm/apply.hpp
......
#pragma once
// This file is generated!
#include "preprocessor/drop_front.h"
#include "preprocessor/variadic_for_each.h"
#pragma once
#define SIMOX_DROP_FRONT_1(e0, ...) __VA_ARGS__
#define SIMOX_DROP_FRONT_2(e0, e1, ...) __VA_ARGS__
#define SIMOX_DROP_FRONT_3(e0, e1, e2, ...) __VA_ARGS__
#define SIMOX_DROP_FRONT_4(e0, e1, e2, e3, ...) __VA_ARGS__
#pragma once
#include <boost/preprocessor/variadic/to_seq.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#define SIMOX_VARIADIC_FOR_EACH(macro, data, ...) \
BOOST_PP_SEQ_FOR_EACH(macro, data, BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment