Searched refs:ArrayWrapper (Results 1 – 1 of 1) sorted by relevance
148 template <typename T> class ArrayWrapper {150 ArrayWrapper(T* array, size_t size) : begin_(array), end_(array + size) {} in ArrayWrapper() function160 template <typename T> ArrayWrapper<T> array_range(T* begin, size_t length) { in array_range()161 return ArrayWrapper<T>(begin, length); in array_range()164 template <typename T, size_t n> ArrayWrapper<T> array_range(T (&a)[n]) { in array_range()165 return ArrayWrapper<T>(a, n); in array_range()