file
ObjectConstructor.hpp
Contents
- Reference
Namespaces
- namespace bpf
- namespace bpf::memory
Classes
-
template<class C, class T, typename... Args>class bpf::memory::ObjectConstructor
Defines
- #define BP_USE_CONSTRUCTOR(Class, Parent)
- #define BP_MAP_CONSTRUCTOR(Class, Parent, ...)
Define documentation
#define BP_USE_CONSTRUCTOR(Class, Parent)
Parameters | |
---|---|
Class | the source class type name (must extend the base class) |
Parent | the base class type name |
Use in your header to opt in with the automatic constructor reflector
#define BP_MAP_CONSTRUCTOR(Class, Parent, ...)
Parameters | |
---|---|
Class | the source class type name (must extend the base class) |
Parent | the base class type name |
... | arguments to the constructor |
Maps a given constructor for use with constructor reflection API. Will compile error if class does not declare BP_USE_CONSTRUCTOR