From 7d198aa04391559aaf61692f59dd0b397d7813dd Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Sat, 1 Feb 2020 13:51:40 -0500 Subject: [PATCH] Update copyright, add throw condition to replace/insert --- include/boost/static_string/config.hpp | 2 +- include/boost/static_string/detail/static_string.hpp | 2 +- include/boost/static_string/impl/static_string.hpp | 2 +- include/boost/static_string/static_string.hpp | 7 ++++++- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/include/boost/static_string/config.hpp b/include/boost/static_string/config.hpp index f3b70f4..9fd08b9 100644 --- a/include/boost/static_string/config.hpp +++ b/include/boost/static_string/config.hpp @@ -1,6 +1,6 @@ // // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) -// Copyright (c) 2019 Krystian Stasiowski (sdkrystian at gmail dot com) +// Copyright (c) 2019-2020 Krystian Stasiowski (sdkrystian at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/include/boost/static_string/detail/static_string.hpp b/include/boost/static_string/detail/static_string.hpp index 56425ec..9bd4b1f 100644 --- a/include/boost/static_string/detail/static_string.hpp +++ b/include/boost/static_string/detail/static_string.hpp @@ -1,6 +1,6 @@ // // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) -// Copyright (c) 2019 Krystian Stasiowski (sdkrystian at gmail dot com) +// Copyright (c) 2019-2020 Krystian Stasiowski (sdkrystian at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/include/boost/static_string/impl/static_string.hpp b/include/boost/static_string/impl/static_string.hpp index c948b43..eb94172 100644 --- a/include/boost/static_string/impl/static_string.hpp +++ b/include/boost/static_string/impl/static_string.hpp @@ -1,6 +1,6 @@ // // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) -// Copyright (c) 2019 Krystian Stasiowski (sdkrystian at gmail dot com) +// Copyright (c) 2019-2020 Krystian Stasiowski (sdkrystian at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) diff --git a/include/boost/static_string/static_string.hpp b/include/boost/static_string/static_string.hpp index b5bea24..b555542 100644 --- a/include/boost/static_string/static_string.hpp +++ b/include/boost/static_string/static_string.hpp @@ -1,6 +1,6 @@ // // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) -// Copyright (c) 2019 Krystian Stasiowski (sdkrystian at gmail dot com) +// Copyright (c) 2019-2020 Krystian Stasiowski (sdkrystian at gmail dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -942,6 +942,7 @@ public: @throw std::length_error `size() + str.substr(index_str, count).size() > max_size()` @throw std::out_of_range `index > size()` + @throw std::out_of_range `index_str > str.size()` */ template BOOST_STATIC_STRING_CPP14_CONSTEXPR @@ -1231,6 +1232,7 @@ public: @throw std::length_error `size() + sv.size() > max_size()` @throw std::out_of_range `index > size()` + @throw std::out_of_range `index_str > sv.size()` */ template BOOST_STATIC_STRING_CPP14_CONSTEXPR @@ -1954,6 +1956,7 @@ public: @throw std::length_error `size() + (std::min(str.size(), n2) - rcount) > max_size()` @throw std::out_of_range `pos1 > size()` + @throw std::out_of_range `pos2 > str.size()` */ BOOST_STATIC_STRING_CPP14_CONSTEXPR basic_static_string& @@ -1995,6 +1998,7 @@ public: @throw std::length_error `size() + (std::min(str.size(), n2) - rcount) > max_size()` @throw std::out_of_range `pos1 > size()` + @throw std::out_of_range `pos2 > str.size()` */ template BOOST_STATIC_STRING_CPP14_CONSTEXPR @@ -2090,6 +2094,7 @@ public: @throw std::length_error `size() + (std::min(n2, sv.size()) - rcount) > max_size()` @throw std::out_of_range `pos1 > size()` + @throw std::out_of_range `pos2 > sv.size()` */ template BOOST_STATIC_STRING_CPP14_CONSTEXPR