|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
Full-automation entry point for the opaque-container generator rod: the WELDER_OPAQUE_CONTAINERS_MAIN generator-main() macro. More...
Go to the source code of this file.
Macros | |
| #define | WELDER_OPAQUE_CONTAINERS_MAIN_STYLED(ns, style) |
| Like WELDER_OPAQUE_CONTAINERS_MAIN, but with a custom name style — a welder::naming style that may carry a transform_opaque_container hook to name the opaque wrappers (see document.hpp / the Containers guide). | |
| #define | WELDER_OPAQUE_CONTAINERS_MAIN(ns) |
| Define a main() that emits the opaque-container header for namespace ns. | |
Full-automation entry point for the opaque-container generator rod: the WELDER_OPAQUE_CONTAINERS_MAIN generator-main() macro.
Include this (instead of rod.hpp) in a generator TU so the whole executable is one macro line; welder_generate_opaque_containers() (CMake) builds and runs it into <name>.opaque.hpp.
Definition in file module.hpp.
| #define WELDER_OPAQUE_CONTAINERS_MAIN | ( | ns | ) |
Define a main() that emits the opaque-container header for namespace ns.
Writes to the file named by the first command-line argument, or to stdout when none is given — the build-time analogue of a backend entry point: welder_generate_opaque_containers runs the generator with the output path. Uses the default (collision-free derived) names; for custom naming use WELDER_OPAQUE_CONTAINERS_MAIN_STYLED.
| ns | the top-level namespace / module name token. |
Definition at line 43 of file module.hpp.
| #define WELDER_OPAQUE_CONTAINERS_MAIN_STYLED | ( | ns, | |
| style ) |
Like WELDER_OPAQUE_CONTAINERS_MAIN, but with a custom name style — a welder::naming style that may carry a transform_opaque_container hook to name the opaque wrappers (see document.hpp / the Containers guide).
The default macro passes welder::naming::none (the collision-free derived names).
| ns | the top-level namespace / module name token. |
| style | a name-style type (its transform_opaque_container, if any, names the wrappers). |
Definition at line 23 of file module.hpp.