| 62 | |
| 63 | template <auto Idx, typename C> |
| 64 | void setup_input(avnd::field_reflection<Idx, C> refl) |
| 65 | { |
| 66 | class_def.def_property( |
| 67 | c_str(input_name(refl)), |
| 68 | [](const T& t) { return avnd::pfr::get<Idx>(t.inputs).value; }, |
| 69 | [](T& t, decltype(C::value) x) { avnd::pfr::get<Idx>(t.inputs).value = x; }); |
| 70 | } |
| 71 | |
| 72 | template <auto Idx, typename C> |
| 73 | void setup_output(avnd::field_reflection<Idx, C> refl) |
nothing calls this directly
no test coverage detected