1 Commits

Author SHA1 Message Date
Lang Hames
40fce32501
[orc-rt] Add CallableTraitsHelper, refactor WrapperFunction to use it. (#161761)
CallableTraitsHelper identifies the return type and argument types of a
callable type and passes those to an implementation class template to
operate on.

The CallableArgInfo utility uses CallableTraitsHelper to provide
typedefs for the return type and argument types (as a tuple) of a
callable type.

In WrapperFunction.h, the detail::WFCallableTraits utility is rewritten
in terms of CallableTraitsHandler (and renamed to WFHandlerTraits).
2025-10-03 12:01:38 +10:00