diff options
author | pavelgur <[email protected]> | 2022-02-10 16:50:19 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:19 +0300 |
commit | 173c6a0fa7f439b2c207c2f258e52ccb4ac181cf (patch) | |
tree | ccc1431399e20197a8533f3d4bd0eb9a4bb8db62 /util/generic/array_ref.h | |
parent | da16e7702d9b0a8a42761ad877f102ef6aa85ec0 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/generic/array_ref.h')
-rw-r--r-- | util/generic/array_ref.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/array_ref.h b/util/generic/array_ref.h index 1ac60ac7d3c..ddaf6bdceb4 100644 --- a/util/generic/array_ref.h +++ b/util/generic/array_ref.h @@ -2,10 +2,10 @@ #include <util/generic/yexception.h> -#include <algorithm> +#include <algorithm> #include <initializer_list> #include <iterator> - + /** * `TArrayRef` works pretty much like `std::span` with dynamic extent, presenting * an array-like interface into a contiguous sequence of objects. @@ -77,7 +77,7 @@ public: bool operator==(const TArrayRef<TT>& other) const noexcept { return (S_ == other.size()) && std::equal(begin(), end(), other.begin()); } - + constexpr inline T* data() const noexcept { return T_; } |