#include <boost/preprocessor/variadic/to_list.hpp>
#include <boost/preprocessor/list/for_each.hpp>
#include "cargo/types.hpp"
Go to the source code of this file.
#define __CARGO_EXTEND |
( |
|
... | ) |
|
Value:template<typename Visitor> \
void accept(Visitor v) {
\
ParentVisitor::accept(v); \
} \
template<typename Visitor> \
void accept(Visitor v)
const {
\
ParentVisitor::accept(v); \
} \
#define GENERATE_ELEMENTS__(...)
Definition: fields.hpp:141
#define GENERATE_ELEMENT__ |
( |
|
r, |
|
|
|
_, |
|
|
|
element |
|
) |
| v.visit(#element, element); \ |
#define GENERATE_ELEMENTS__ |
( |
|
... | ) |
|
Value:
_, \
BOOST_PP_VARIADIC_TO_LIST(__VA_ARGS__)) \
#define GENERATE_ELEMENT__(r, _, element)
Definition: fields.hpp:146