welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
Loading...
Searching...
No Matches
welder::detail::return_doc_spec< N > Struct Template Reference

The stored form of a returns annotation: a function's return-value doc. More...

#include <welder/annotations.hpp>

Public Attributes

fixed_string< N > text
 The return-value documentation.

Detailed Description

template<size_type N>
struct welder::detail::return_doc_spec< N >

The stored form of a returns annotation: a function's return-value doc.

A return value is not a reflectable entity, so its documentation is attached to the function as a distinct annotation type — doc there is already the function's summary. The reflection layer tells the two apart by spec type.

Template Parameters
Nthe text length (deduced).

Definition at line 284 of file annotations.hpp.

Member Data Documentation

◆ text

The return-value documentation.

Definition at line 285 of file annotations.hpp.


The documentation for this struct was generated from the following file: