welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
Loading...
Searching...
No Matches
welder::diag::bare_mark_only Struct Reference

Thrown by member_bound (<welder/reflect.hpp>) when a member carries a bare [[=welder::mark::only]] — "only, for every language" restricts nothing, so the mark must be called. More...

#include <welder/diag.hpp>

Public Attributes

const char * what
 What went wrong and how to fix it.

Detailed Description

Thrown by member_bound (<welder/reflect.hpp>) when a member carries a bare [[=welder::mark::only]] — "only, for every language" restricts nothing, so the mark must be called.

Definition at line 53 of file diag.hpp.

Member Data Documentation

◆ what

const char* welder::diag::bare_mark_only::what
Initial value:
=
"welder: a bare [[=welder::mark::only]] is meaningless ('only, for "
"every language' restricts nothing); call it with the languages the "
"member may bind for: mark::only(welder::lang::py, ...)"

What went wrong and how to fix it.

Definition at line 55 of file diag.hpp.


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