This repository was archived by the owner on Dec 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ class f_to_string_t {
6868 constexpr auto size () const noexcept { return sizeof (buf) / sizeof (buf[0 ]); }
6969 // Element access
7070 constexpr auto data () noexcept { return buf; }
71- constexpr const auto data () const noexcept { return buf; }
71+ constexpr auto data () const noexcept { return buf; }
7272 constexpr auto & operator [](unsigned int i) noexcept { return buf[i]; }
7373 constexpr const auto & operator [](unsigned int i) const noexcept { return buf[i]; }
7474 constexpr auto & front () noexcept { return buf[0 ]; }
@@ -77,9 +77,9 @@ class f_to_string_t {
7777 constexpr const auto & back () const noexcept { return buf[size () - 1 ]; }
7878 // Iterators
7979 constexpr auto begin () noexcept { return buf; }
80- constexpr const auto begin () const noexcept { return buf; }
80+ constexpr auto begin () const noexcept { return buf; }
8181 constexpr auto end () noexcept { return buf + size (); }
82- constexpr const auto end () const noexcept { return buf + size (); }
82+ constexpr auto end () const noexcept { return buf + size (); }
8383};
8484
8585} // namespace constexpr_to_string
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class to_string_t {
5858
5959 // Element access
6060 constexpr auto data () noexcept { return buf; }
61- constexpr const auto data () const noexcept { return buf; }
61+ constexpr auto data () const noexcept { return buf; }
6262 constexpr auto & operator [](unsigned int i) noexcept { return buf[i]; }
6363 constexpr const auto & operator [](unsigned int i) const noexcept { return buf[i]; }
6464 constexpr auto & front () noexcept { return buf[0 ]; }
@@ -68,9 +68,9 @@ class to_string_t {
6868
6969 // Iterators
7070 constexpr auto begin () noexcept { return buf; }
71- constexpr const auto begin () const noexcept { return buf; }
71+ constexpr auto begin () const noexcept { return buf; }
7272 constexpr auto end () noexcept { return buf + size (); }
73- constexpr const auto end () const noexcept { return buf + size (); }
73+ constexpr auto end () const noexcept { return buf + size (); }
7474};
7575
7676} // namespace constexpr_to_string
You can’t perform that action at this time.
0 commit comments