|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
A name style names every kind of entity welder can bind, through one hook per kind. More...
#include <welder/concepts.hpp>
A name style names every kind of entity welder can bind, through one hook per kind.
Each hook takes the entity's reflection and returns its target name. The driver calls the hook matching what it is binding — so a style varies naming by kind without inspecting the reflection itself.
A style implements all of transform_class, transform_enum, transform_enumerator, transform_method, transform_static_method, transform_function, transform_field, transform_variable and transform_submodule as static consteval std::string(std::meta::info). In practice a style inherits welder::naming::none (or a single-convention style) and overrides only the hooks that differ — static-hook hiding does the rest, since welder always calls through the concrete style type.
| S | the candidate style type. |
Definition at line 386 of file concepts.hpp.