"ScL Feature"/
SCL Feature 0.0.1
C++20 composable proxy wrapper with pluggable executor strategy
Loading...
Searching...
No Matches
type.h File Reference

Macro for declaring the wrapper type used by reflection macros. More...

Go to the source code of this file.

Macros

#define SCL_REFLECT_TYPE(Type, Member)
 Declares the wrapper type for use by SCL_REFLECT_METHOD.

Detailed Description

Macro for declaring the wrapper type used by reflection macros.

Macro Definition Documentation

◆ SCL_REFLECT_TYPE

#define SCL_REFLECT_TYPE ( Type,
Member )

Declares the wrapper type for use by SCL_REFLECT_METHOD.

Must appear inside the class body after the executor member declaration and before any SCL_REFLECT_METHOD invocations.

A specialization of scl::feature::executor_trait must also be provided for Type.

Example
SCL_REFLECT_TYPE(MyWrapper, m_executor);
#define SCL_REFLECT_TYPE(Type, Member)
Declares the wrapper type for use by SCL_REFLECT_METHOD.
Definition type.h:27
Parameters
TypeThe unqualified class name.
MemberExecutor data member name.
See also
scl::feature::executor_trait