This commit is contained in:
MoneroOcean
2020-07-15 10:57:50 -07:00
parent 3faf249d6a
commit 637bb45fe0
10 changed files with 348 additions and 1928 deletions
+1 -2
View File
@@ -110,8 +110,7 @@ namespace epee
constexpr std::size_t size() const noexcept { return len; }
constexpr std::size_t size_bytes() const noexcept { return size() * sizeof(value_type); }
T &operator[](size_t idx) noexcept { return ptr[idx]; }
const T &operator[](size_t idx) const noexcept { return ptr[idx]; }
const T &operator[](size_t idx) const { return ptr[idx]; }
private:
T* ptr;