Template Struct index_of

Template Parameter Order

  1. typename T

  2. typename L

Struct Documentation

template<typename T, typename L>
struct index_of

Get the index of the first instance of T in L.