A class that can be used to find the index of a unique element type in a tuple. If no match was found or the type was not unique, a negative value is used. Unique means there is exactly one element with the given type. Works at compile time.
Example:
value contains the index of the type if it was found exactly once, or a negative value otherwise.
SEARCHTYPE | Type to search for. |
TUPLETYPE | Type of the tuple that is searched in. |