mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-22 06:43:19 +08:00
This adds a `detail::cast_op<T>(caster)` function which handles the
rather verbose:
caster.operator typename CasterType::template cast_op_type<T>()
which allows various places to use the shorter and clearer:
cast_op<T>(caster)
instead of the full verbose cast operator invocation.