|
welder 0.1.0
Bindings for annotated C++ types, from C++26 reflection
|
The stored form of an exclude mark: the languages a member is hidden from. More...
#include <welder/annotations.hpp>
Public Member Functions | |
| template<class... Ls> | |
| consteval exclude_spec | operator() (Ls... ls) const |
| Scope the exclusion to specific languages. | |
Public Attributes | |
| unsigned | mask = 0 |
| The languages to exclude from; 0 == all languages. | |
The stored form of an exclude mark: the languages a member is hidden from.
Each marker is a constexpr object usable bare as an annotation (applies to all languages) or called with languages to scope it:
Definition at line 154 of file annotations.hpp.
|
inlineconsteval |
Scope the exclusion to specific languages.
| Ls | the language enum types (deduced). |
| ls | the languages to exclude from. |
Definition at line 162 of file annotations.hpp.
References welder::lang_mask().
| unsigned welder::detail::exclude_spec::mask = 0 |
The languages to exclude from; 0 == all languages.
Definition at line 155 of file annotations.hpp.