Return BOOST_NOEXCEPT

This commit is contained in:
Georgiy Guminov
2024-06-10 21:38:53 +03:00
committed by Georgy Guminov
parent 054c013bba
commit 4a49b8a1a2
2 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ namespace iterators {
class output_proxy {
public:
explicit output_proxy(UnaryFunction& f) noexcept : m_f(f) { }
explicit output_proxy(UnaryFunction& f) BOOST_NOEXCEPT : m_f(f) { }
template <class T>
@@ -39,7 +39,7 @@ namespace iterators {
return *this;
}
BOOST_DEFAULTED_FUNCTION(output_proxy(output_proxy const& that), noexcept : m_f(that.m_f) {})
BOOST_DEFAULTED_FUNCTION(output_proxy(output_proxy const& that), BOOST_NOEXCEPT : m_f(that.m_f) {})
BOOST_DELETED_FUNCTION(output_proxy& operator=(output_proxy const&))
private: