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

Thrown by property_entries (<welder/bind_traits.hpp>) when an accessor-marked function also carries a weld_as — the accessor's explicit name is the property's rename tool, so the two would fight. More...

#include <welder/diag.hpp>

Public Attributes

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

Detailed Description

Thrown by property_entries (<welder/bind_traits.hpp>) when an accessor-marked function also carries a weld_as — the accessor's explicit name is the property's rename tool, so the two would fight.

Definition at line 173 of file diag.hpp.

Member Data Documentation

◆ what

const char* welder::diag::accessor_weld_as_conflict::what
Initial value:
=
"welder: a getter/setter-marked function also carries weld_as, but an "
"accessor's target name is the PROPERTY name - spell it in the mark "
"instead: [[=welder::getter(\"name\")]]"

What went wrong and how to fix it.

Definition at line 175 of file diag.hpp.


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