Searched refs:static_vec (Results 1 – 2 of 2) sorted by relevance
40 template <typename T> class static_vec {46 static_vec() : data_(nullptr), size_(0) {} in static_vec() function47 static_vec(T* begin, T* end) : data_(begin), size_(end - begin) {} in static_vec() function48 template <size_t s> static_vec(T (&arr)[s]) : data_(&arr[0]), size_(s) {} in static_vec() function49 static_vec(const static_vec&) = default;50 static_vec(static_vec&&) = default;51 static_vec& operator=(const static_vec&) = default;52 static_vec& operator=(static_vec&&) = default;64 template <typename T> using static_vec = std::vector<T>;
70 using MsgString = static_vec<const char>;71 template <typename T> using MsgVector = static_vec<T>;