welder
0.1.0
Bindings for annotated C++ types, from C++26 reflection
Toggle main menu visibility
Loading...
Searching...
No Matches
marks.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <meta>
3
26
27
namespace
welder::inline v0::rods::python {
28
30
struct
by_value_spec
{};
31
34
inline
constexpr
by_value_spec
by_value
{};
35
37
consteval
bool
marked_by_value
(std::meta::info entity) {
38
return
!std::meta::annotations_of_with_type(entity, ^^
by_value_spec
).empty();
39
}
40
41
}
// namespace welder::inline v0::rods::python
welder::rods::python
Definition
array_interface.hpp:29
welder::rods::python::by_value
constexpr by_value_spec by_value
Opt a data member's container type out of the opaque-container generator — it keeps default by-value ...
Definition
marks.hpp:34
welder::rods::python::marked_by_value
consteval bool marked_by_value(std::meta::info entity)
Does entity carry a by_value mark?
Definition
marks.hpp:37
welder::rods::python::by_value_spec
The stored form of a by_value mark (a plain tag — it carries no state).
Definition
marks.hpp:30
src
welder
rods
python
opaque_containers
marks.hpp
Generated by
1.17.0