Go to the source code of this file.
|
#define | DECLARE_UNION_STATIC_UNION_IMPL(type, name) |
|
#define | DECLARE_UNION_STATIC_UNION_ARRAY_IMPL(type, size, name) |
|
#define | DEFINE_UNION_STATIC_UNION_IMPL(type, name, var) DECLARE_UNION_STATIC_UNION_IMPL(type, name) var; |
|
#define | DEFINE_UNION_STATIC_UNION_CONST_IMPL(type, name, var) DECLARE_UNION_STATIC_UNION_IMPL(type, name) const var; |
|
#define | DEFINE_UNION_STATIC_UNION_CONST_ARRAY_IMPL(type, size, name, var) DECLARE_UNION_STATIC_UNION_ARRAY_IMPL(type, size, name) const var; |
|
#define | DEFINE_UNION_STATIC_CONSTRUCTOR_IMPL(type, name, var) |
|
#define | DEFINE_UNION_STATIC_CONSTRUCTOR_ARG_IMPL(type, name, var, ...) |
|
#define | DEFINE_UNION_STATIC(type, name, var) |
|
#define | DEFINE_UNION_STATIC_ARGS(type, name, var, ...) |
|
#define | DEFINE_UNION_STATIC_NO_INIT(type, name, var) DEFINE_UNION_STATIC_UNION_IMPL(type, name, var) |
|
#define | DEFINE_UNION_STATIC_CONST(type, name, var) |
|
#define | DEFINE_UNION_STATIC_CONST_ARGS(type, name, var, ...) |
|
#define | DEFINE_UNION_STATIC_CONST_NO_INIT(type, name, var) DEFINE_UNION_STATIC_UNION_CONST_IMPL(type, name, var) |
|
#define | DEFINE_UNION_STATIC_CONST_ARRAY_NO_INIT(type, size, name, var) DEFINE_UNION_STATIC_UNION_CONST_ARRAY_IMPL(type, size, name, var) |
|
#define | DECLARE_UNION_STATIC(type, name) DECLARE_UNION_STATIC_UNION_IMPL(type, name) |
|
#define | IMPLEMENT_DECLARED_UNION_STATIC(type, unionName, name, var) |
|
#define | IMPLEMENT_DECLARED_UNION_STATIC_ARGS(type, unionName, name, var, ...) |
|
#define DECLARE_UNION_STATIC_UNION_ARRAY_IMPL |
( |
|
type, |
|
|
|
size, |
|
|
|
name |
|
) |
| |
Value: ~name##Union() {} \
}
constexpr auto size(C const &c) -> decltype(c.size())
static constexpr uint64_t data[1]
Definition at line 27 of file UnionBasedStatic.h.
#define DECLARE_UNION_STATIC_UNION_IMPL |
( |
|
type, |
|
|
|
name |
|
) |
| |
Value: ~name##Union() {} \
}
static constexpr uint64_t data[1]
Definition at line 20 of file UnionBasedStatic.h.
#define DEFINE_UNION_STATIC |
( |
|
type, |
|
|
|
name, |
|
|
|
var |
|
) |
| |
Value:#define DEFINE_UNION_STATIC_CONSTRUCTOR_IMPL(type, name, var)
#define DEFINE_UNION_STATIC_UNION_IMPL(type, name, var)
Definition at line 62 of file UnionBasedStatic.h.
#define DEFINE_UNION_STATIC_ARGS |
( |
|
type, |
|
|
|
name, |
|
|
|
var, |
|
|
|
... |
|
) |
| |
Value:#define DEFINE_UNION_STATIC_UNION_IMPL(type, name, var)
#define DEFINE_UNION_STATIC_CONSTRUCTOR_ARG_IMPL(type, name, var,...)
Definition at line 66 of file UnionBasedStatic.h.
#define DEFINE_UNION_STATIC_CONST |
( |
|
type, |
|
|
|
name, |
|
|
|
var |
|
) |
| |
Value:#define DEFINE_UNION_STATIC_CONSTRUCTOR_IMPL(type, name, var)
#define DEFINE_UNION_STATIC_UNION_CONST_IMPL(type, name, var)
Definition at line 74 of file UnionBasedStatic.h.
#define DEFINE_UNION_STATIC_CONST_ARGS |
( |
|
type, |
|
|
|
name, |
|
|
|
var, |
|
|
|
... |
|
) |
| |
Value:
#define DEFINE_UNION_STATIC_CONSTRUCTOR_ARG_IMPL(type, name, var,...)
#define DEFINE_UNION_STATIC_UNION_CONST_IMPL(type, name, var)
Definition at line 78 of file UnionBasedStatic.h.
#define DEFINE_UNION_STATIC_CONSTRUCTOR_ARG_IMPL |
( |
|
type, |
|
|
|
name, |
|
|
|
var, |
|
|
|
... |
|
) |
| |
Value: new (const_cast<type*>(&var.data))
type(__VA_ARGS__); \
}
__attribute__((noinline, noclone)) VirtualBase *makeVirtual()
Definition at line 51 of file UnionBasedStatic.h.
#define DEFINE_UNION_STATIC_CONSTRUCTOR_IMPL |
( |
|
type, |
|
|
|
name, |
|
|
|
var |
|
) |
| |
Value: new (const_cast<type*>(&var.data))
type(); \
}
__attribute__((noinline, noclone)) VirtualBase *makeVirtual()
Definition at line 45 of file UnionBasedStatic.h.
#define IMPLEMENT_DECLARED_UNION_STATIC |
( |
|
type, |
|
|
|
unionName, |
|
|
|
name, |
|
|
|
var |
|
) |
| |
Value:
#define DEFINE_UNION_STATIC_CONSTRUCTOR_ARG_IMPL(type, name, var,...)
Definition at line 102 of file UnionBasedStatic.h.
#define IMPLEMENT_DECLARED_UNION_STATIC_ARGS |
( |
|
type, |
|
|
|
unionName, |
|
|
|
name, |
|
|
|
var, |
|
|
|
... |
|
) |
| |
Value:
#define DEFINE_UNION_STATIC_CONSTRUCTOR_ARG_IMPL(type, name, var,...)
Definition at line 106 of file UnionBasedStatic.h.