#ifndef TYPEASVALUE_SRC_LIST_OPERATION_NTH_H_ #define TYPEASVALUE_SRC_LIST_OPERATION_NTH_H_ #include "drop.h" #include "conditional/if.h" #include "operation/math.h" namespace tav { template < typename Index, typename List > using Nth = If< IsPair>, Head>, void >; template using First = Nth, List>; template using Second = Nth, List>; template using Third = Nth, List>; } #endif // TYPEASVALUE_SRC_LIST_OPERATION_NTH_H_