| 1867 | // store the result in the given variable. For other types, this is a no-op. |
| 1868 | template <typename T> |
| 1869 | enable_if_t<cast_is_temporary_value_reference<T>::value, T> cast_ref(object &&o, |
| 1870 | make_caster<T> &caster) { |
| 1871 | return cast_op<T>(load_type(caster, o)); |
| 1872 | } |
| 1873 | template <typename T> |
| 1874 | enable_if_t<!cast_is_temporary_value_reference<T>::value, T> cast_ref(object &&, |
| 1875 | override_unused &) { |
nothing calls this directly
no test coverage detected