proxygen
|
#include <DiscriminatedPtrDetail.h>
Given a target type and a list of types, return the 1-based index of the type in the list of types. Fail to compile if the target type doesn't appear in the list.
GetIndex<int, void, char, int>::value == 3 GetIndex<int, void, char>::value -> fails to compile
Definition at line 36 of file DiscriminatedPtrDetail.h.