| 48 | |
| 49 | template <typename Class> |
| 50 | void addSelfProxy(Class &cl) { |
| 51 | using T = typename Class::type; |
| 52 | cl.def_property_readonly_static("_self_proxy", [](pybind11::object &) -> Proxy<T> { |
| 53 | return makeSimpleProxy<T>(); |
| 54 | }); |
| 55 | } |
| 56 | |
| 57 | template <typename T> |
| 58 | void addAnyInit(py::class_<std::any> &cl) { |