| 2063 | struct property_cpp_function_classic { |
| 2064 | template <typename PM, must_be_member_function_pointer<PM> = 0> |
| 2065 | static cpp_function readonly(PM pm, const handle &hdl) { |
| 2066 | return cpp_function([pm](const T &c) -> const D & { return c.*pm; }, is_method(hdl)); |
| 2067 | } |
| 2068 | |
| 2069 | template <typename PM, must_be_member_function_pointer<PM> = 0> |
| 2070 | static cpp_function read(PM pm, const handle &hdl) { |
nothing calls this directly
no test coverage detected