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

Thrown by member_access_admitted (<welder/bind_traits.hpp>) when a resolution still declares its optional protected_participates hook under the superseded two-argument signature — which would otherwise be silently ignored (the detection is a requires probe). More...

#include <welder/diag.hpp>

Public Attributes

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

Detailed Description

Thrown by member_access_admitted (<welder/bind_traits.hpp>) when a resolution still declares its optional protected_participates hook under the superseded two-argument signature — which would otherwise be silently ignored (the detection is a requires probe).

Definition at line 77 of file diag.hpp.

Member Data Documentation

◆ what

const char* welder::diag::stale_hook_signature::what
Initial value:
=
"welder: this resolution's protected_participates hook gained a "
"trailing `std::meta::info bound_into` parameter (the entity whose "
"binding receives the member); update its signature to "
"(mem, lang, bound_into)"

What went wrong and how to fix it.

Definition at line 79 of file diag.hpp.


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