|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
The stored form of a tparam annotation: one template parameter's doc. More...
#include <welder/annotations.hpp>
Public Attributes | |
| fixed_string< N > | name |
| The documented template parameter's name. | |
| fixed_string< M > | text |
| Its documentation. | |
The stored form of a tparam annotation: one template parameter's doc.
A template parameter is not a reflectable entity either (P2996 exposes no template-parameter API), so — like a return value — its documentation rides on the template itself, as a repeatable annotation naming the parameter:
Consumers: the Doxygen INPUT_FILTER renders each as a @tparam K text line; reflection reads them back via tparam_docs() (<welder/doc.hpp>) — off an instantiation*, since P2996 refuses annotations_of on the uninstantiated template.
| N | the parameter-name length (deduced). |
| M | the text length (deduced). |
Definition at line 309 of file annotations.hpp.
| fixed_string<N> welder::detail::tparam_spec< N, M >::name |
The documented template parameter's name.
Definition at line 310 of file annotations.hpp.
| fixed_string<M> welder::detail::tparam_spec< N, M >::text |
Its documentation.
Definition at line 311 of file annotations.hpp.