2
0
mirror of https://github.com/boostorg/uuid.git synced 2026-01-19 04:42:16 +00:00

Fix declarations of begin() and end()

This commit is contained in:
Peter Dimov
2025-08-31 19:35:33 +03:00
parent 21f46e88ab
commit 0f87380f0d

View File

@@ -153,11 +153,11 @@ public:
using size_type = std::size_t;
using difference_type = std::ptrdiff_t;
constexpr iterator begin() noexcept { return data; }
BOOST_CXX14_CONSTEXPR const_iterator begin() const noexcept { return data; }
BOOST_CXX14_CONSTEXPR iterator begin() noexcept { return data; }
constexpr const_iterator begin() const noexcept { return data; }
constexpr iterator end() noexcept { return data() + size(); }
BOOST_CXX14_CONSTEXPR const_iterator end() const noexcept { return data() + size(); }
BOOST_CXX14_CONSTEXPR iterator end() noexcept { return data() + size(); }
constexpr const_iterator end() const noexcept { return data() + size(); }
// size