|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
The raw documentation pieces of a function, handed to a style to assemble. More...
#include <welder/doc.hpp>
Public Attributes | |
| const char * | summary {nullptr} |
| The function's own doc. | |
| std::span< const param_doc > | params {} |
| Per-parameter doc, declaration order. | |
| const char * | returns {nullptr} |
| The function's returns. | |
The raw documentation pieces of a function, handed to a style to assemble.
A struct (rather than a growing argument list) so adding future sections — a Raises:, a Note: — does not re-break the doc_style concept. Any member may be empty/null: a function with only a returns and no summary is valid.
| std::span<const param_doc> welder::detail::function_doc::params {} |
| const char* welder::detail::function_doc::returns {nullptr} |
| const char* welder::detail::function_doc::summary {nullptr} |