|
Any++
|
Macros to reduce boilerplate for declaring/defining open dispatch with vany_variant. Only neccessary for DLL scenarios. More...
Macros | |
| #define | VANY_DISPACH_DECLARE(export_, name, vany, signature, static_dispatch) |
| Declare a singleton object for open vany dispatch. | |
| #define | VANY_DISPACH(namespace_, name) |
| Define a vany dispatch singleton object in a source file. | |
Macros to reduce boilerplate for declaring/defining open dispatch with vany_variant. Only neccessary for DLL scenarios.
| #define VANY_DISPACH | ( | namespace_, | |
| name ) |
Define a vany dispatch singleton object in a source file.
| namespace_ | The namespace for the singleton. |
| name | Name of the singleton. |
See also VANY_DISPACH_DECLARE, ANY_SINGLETON.
| #define VANY_DISPACH_DECLARE | ( | export_, | |
| name, | |||
| vany, | |||
| signature, | |||
| static_dispatch ) |
Declare a singleton object for open vany dispatch.
| export_ | To supply an export macro in a DLL scenario. |
| name | Name of the dispatch. |
| vany | Type of vany. |
| signature | Signature of the dispatch. |
| static_dispatch | Static constexpr visitor for the non-any members of the vany. |
See also VANY_DISPACH, ANY_SINGLETON_DECLARE.