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

Thrown by lang_bit (<welder/annotations.hpp>) when a lang value lies past the 32-bit language-mask width — instead of an opaque shift-overflow error. More...

#include <welder/diag.hpp>

Public Attributes

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

Detailed Description

Thrown by lang_bit (<welder/annotations.hpp>) when a lang value lies past the 32-bit language-mask width — instead of an opaque shift-overflow error.

Definition at line 30 of file diag.hpp.

Member Data Documentation

◆ what

const char* welder::diag::lang_out_of_mask_range::what
Initial value:
=
"welder: this lang value is not a language-mask bit index (it lies "
"past the 32-bit mask); mint user languages with "
"welder::user_lang<Slot>, which cannot go out of range"

What went wrong and how to fix it.

Definition at line 32 of file diag.hpp.


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