Edit

Share via


ArgTraitsHelper Structure

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

template<typename TDelegateInterface>
struct ArgTraitsHelper;

Parameters

TDelegateInterface
A delegate interface.

Remarks

Helps define common characteristics of delegate arguments.

Members

Public Typedefs

Name Description
methodType A synonym for decltype(&TDelegateInterface::Invoke).
Traits A synonym for ArgTraits<methodType>.

Public Constants

Name Description
ArgTraitsHelper::args Helps ArgTraits::args keep count of the number of parameters on the Invoke method of a delegate interface.

Inheritance Hierarchy

ArgTraitsHelper

Requirements

Header: event.h

Namespace: Microsoft::WRL::Details

ArgTraitsHelper::args

Supports the WRL infrastructure and is not intended to be used directly from your code.

static const int args = Traits::args;

Remarks

Helps ArgTraitsHelper::args keep count of the number of parameters on the Invoke method of a delegate interface.