Stuff
public cpp v1 · immutabletemplate<class T>size_t indexOf(std::vector<T>& haystack, T needle) { std::vector<T>::iterator iter = find(haystack.begin(), haystack.end(), needle); size_t index = std::distance(haystack.begin(), iter); return index;}