From 8e903c4f1b2166f5686eed5ddd58e7718a0b7ca9 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Mon, 16 Dec 2019 13:56:16 -0500 Subject: [PATCH] constexpr reverse iterators --- include/boost/static_string/static_string.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/boost/static_string/static_string.hpp b/include/boost/static_string/static_string.hpp index cd37c60..2d95470 100644 --- a/include/boost/static_string/static_string.hpp +++ b/include/boost/static_string/static_string.hpp @@ -658,6 +658,7 @@ public: } /// Returns a reverse iterator to the beginning. + BOOST_STATIC_STRING_CPP17_CONSTEXPR reverse_iterator rbegin() noexcept { @@ -665,6 +666,7 @@ public: } /// Returns a reverse iterator to the beginning. + BOOST_STATIC_STRING_CPP17_CONSTEXPR const_reverse_iterator rbegin() const noexcept { @@ -672,6 +674,7 @@ public: } /// Returns a reverse iterator to the beginning. + BOOST_STATIC_STRING_CPP17_CONSTEXPR const_reverse_iterator crbegin() const noexcept { @@ -679,6 +682,7 @@ public: } /// Returns a reverse iterator to the end. + BOOST_STATIC_STRING_CPP17_CONSTEXPR reverse_iterator rend() noexcept { @@ -686,6 +690,7 @@ public: } /// Returns a reverse iterator to the end. + BOOST_STATIC_STRING_CPP17_CONSTEXPR const_reverse_iterator rend() const noexcept { @@ -693,6 +698,7 @@ public: } /// Returns a reverse iterator to the end. + BOOST_STATIC_STRING_CPP17_CONSTEXPR const_reverse_iterator crend() const noexcept {