jeffro256 332d92ffbe
epee: span::operator[] allow mut ref from const span
Changes the `operator[]` method so we can get mutable
references to elements even if the span is `const`.
The operator is now also `constexpr`.
This behavior matches `std::span`.

C++ standard reference: https://en.cppreference.com/w/cpp/container/span/operator_at
2025-03-22 16:53:17 -05:00
..
2024-05-21 16:29:33 +00:00
2015-01-02 18:52:46 +02:00
2024-04-20 19:17:46 +08:00

epee - is a small library of helpers, wrappers, tools and so on, used to make my life easier.