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 | db222959b3748242024c781f563f31a342492476 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/array_ref.h | |
parent | 173c6a0fa7f439b2c207c2f258e52ccb4ac181cf (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 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 ddaf6bdceb4..1ac60ac7d3c 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_; } |