summaryrefslogtreecommitdiffstats
path: root/util/generic/array_ref.h
diff options
context:
space:
mode:
authormuzykantov <[email protected]>2022-02-10 16:51:51 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:51:51 +0300
commitfffc5498228bac1ad41ed40b9b7f5cb453796ba8 (patch)
treeab7fbbf3253d4c0e2793218f09378908beb025fb /util/generic/array_ref.h
parent8057fea3b8c36263516f0a7e1a01fdf7380764a4 (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.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/util/generic/array_ref.h b/util/generic/array_ref.h
index 13666508e22..1ac60ac7d3c 100644
--- a/util/generic/array_ref.h
+++ b/util/generic/array_ref.h
@@ -94,39 +94,39 @@ public:
return (S_ == 0);
}
- constexpr inline iterator begin() const noexcept {
+ constexpr inline iterator begin() const noexcept {
return T_;
}
- constexpr inline iterator end() const noexcept {
+ constexpr inline iterator end() const noexcept {
return (T_ + S_);
}
- constexpr inline const_iterator cbegin() const noexcept {
+ constexpr inline const_iterator cbegin() const noexcept {
return T_;
}
- constexpr inline const_iterator cend() const noexcept {
+ constexpr inline const_iterator cend() const noexcept {
return (T_ + S_);
}
- constexpr inline reverse_iterator rbegin() const noexcept {
+ constexpr inline reverse_iterator rbegin() const noexcept {
return reverse_iterator(T_ + S_);
}
- constexpr inline reverse_iterator rend() const noexcept {
+ constexpr inline reverse_iterator rend() const noexcept {
return reverse_iterator(T_);
}
- constexpr inline const_reverse_iterator crbegin() const noexcept {
+ constexpr inline const_reverse_iterator crbegin() const noexcept {
return const_reverse_iterator(T_ + S_);
}
- constexpr inline const_reverse_iterator crend() const noexcept {
+ constexpr inline const_reverse_iterator crend() const noexcept {
return const_reverse_iterator(T_);
}
- constexpr inline reference front() const noexcept {
+ constexpr inline reference front() const noexcept {
return *T_;
}
@@ -150,7 +150,7 @@ public:
return (*this)[n];
}
- constexpr inline explicit operator bool() const noexcept {
+ constexpr inline explicit operator bool() const noexcept {
return (S_ > 0);
}
@@ -216,7 +216,7 @@ public:
return TArrayRef(T_ + offset, size);
}
- constexpr inline yssize_t ysize() const noexcept {
+ constexpr inline yssize_t ysize() const noexcept {
return static_cast<yssize_t>(this->size());
}