|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
The default registration oracle of the bindability gate: a program-defined class/enum type counts as registered iff it is welded for the language. More...
#include <welder/bindable.hpp>
Static Public Member Functions | |
| static consteval bool | counts_as_registered (std::meta::info type, lang L) |
| Does welding under this policy provide a registration for type? | |
The default registration oracle of the bindability gate: a program-defined class/enum type counts as registered iff it is welded for the language.
The gate's needs-registration leaf asks "will a registration for this type exist by the time the module finishes loading?". Under marker-directed (stitch) welding the weld annotation is that promise. A resolution that registers types on other grounds — welder::carriages::greedy_resolution registers a whole unmarked library — supplies its own counts_as_registered so types it registers itself pass the gate (the resolution concept requires the hook; this struct is the conservative default and a convenient base).
Definition at line 59 of file bindable.hpp.
|
inlinestaticconsteval |
Does welding under this policy provide a registration for type?
Definition at line 61 of file bindable.hpp.
References welder::welded_for().