ArgTraitsHelper — Struktura

Obsługuje infrastrukturę biblioteki WRL i nie jest przeznaczona do użycia bezpośrednio z kodu.

Składnia

template<typename TDelegateInterface>
struct ArgTraitsHelper;

Parametry

TDelegateInterface
Interfejs delegata.

Uwagi

Pomaga zdefiniować typowe cechy argumentów delegatów.

Członkowie

Definicje typów publicznych

Nazwa/nazwisko opis
methodType Synonim dla elementu decltype(&TDelegateInterface::Invoke).
Traits Synonim dla elementu ArgTraits<methodType>.

Stałe publiczne

Nazwa/nazwisko opis
ArgTraitsHelper::args Pomaga usłudze ArgTraits::args zachować liczbę parametrów metody Invoke interfejsu delegata.

Hierarchia dziedziczenia

ArgTraitsHelper

Wymagania

Nagłówek: event.h

Przestrzeń nazw: Microsoft::WRL::D etails

ArgTraitsHelper::args

Obsługuje infrastrukturę biblioteki WRL i nie jest przeznaczona do użycia bezpośrednio z kodu.

static const int args = Traits::args;

Uwagi

Pomaga ArgTraitsHelper::args zachować liczbę parametrów metody Invoke interfejsu delegata.