carb::delegate::RefFromDelegate

Defined in carb/delegate/Delegate.h

template<class Del>
struct RefFromDelegate

A helper class for determining the type of a carb::delegate::DelegateRef based on a carb::delegate::Delegate.

Template Parameters

Del – a carb::delegate::Delegate

Public Types

using type = DelegateRef<typename Del::FunctionType>

The type of DelegateRef that should be used for a Delegate of type Del