registry/storage: minor changes
This commit is contained in:
@@ -53,12 +53,12 @@ public:
|
||||
constexpr storage_proxy_iterator() noexcept
|
||||
: it{} {}
|
||||
|
||||
constexpr storage_proxy_iterator(const It iter) noexcept
|
||||
constexpr storage_proxy_iterator(It iter) noexcept
|
||||
: it{iter} {}
|
||||
|
||||
template<typename Other, typename = std::enable_if_t<!std::is_same_v<It, Other> && std::is_constructible_v<It, Other>>>
|
||||
constexpr storage_proxy_iterator(const storage_proxy_iterator<Other> &other) noexcept
|
||||
: it{other.it} {}
|
||||
: storage_proxy_iterator{other.it} {}
|
||||
|
||||
constexpr storage_proxy_iterator &operator++() noexcept {
|
||||
return ++it, *this;
|
||||
|
||||
@@ -56,8 +56,7 @@ public:
|
||||
|
||||
template<bool Const = std::is_const_v<Container>, typename = std::enable_if_t<Const>>
|
||||
constexpr storage_iterator(const storage_iterator<std::remove_const_t<Container>> &other) noexcept
|
||||
: packed{other.packed},
|
||||
offset{other.offset} {}
|
||||
: storage_iterator{other.packed, other.offset} {}
|
||||
|
||||
constexpr storage_iterator &operator++() noexcept {
|
||||
return --offset, *this;
|
||||
|
||||
Reference in New Issue
Block a user