diff --git a/doc/release_notes.html b/doc/release_notes.html
index 7510bad..964e165 100644
--- a/doc/release_notes.html
+++ b/doc/release_notes.html
@@ -72,6 +72,10 @@ Acknowledgements
in accordance with standard specifications in [swappable.requirements]
(issue #29).
+
Provided some internal copy constructors and assignment operators whose default
+ implicit definition is deprecated in C++11 onwards ([depr.impldec]), which
+ was warned about on some compilers.
+
Maintenance work.
@@ -650,9 +654,9 @@ Acknowledgements
-Revised November 18th 2019
+Revised January 21st 2020
-© Copyright 2003-2019 Joaquín M López Muñoz.
+
© Copyright 2003-2020 Joaquín M López Muñoz.
Distributed under the Boost Software
License, Version 1.0. (See accompanying file
LICENSE_1_0.txt or copy at
diff --git a/include/boost/multi_index/detail/safe_mode.hpp b/include/boost/multi_index/detail/safe_mode.hpp
index 905270e..b2ed69f 100644
--- a/include/boost/multi_index/detail/safe_mode.hpp
+++ b/include/boost/multi_index/detail/safe_mode.hpp
@@ -1,4 +1,4 @@
-/* Copyright 2003-2013 Joaquin M Lopez Munoz.
+/* Copyright 2003-2020 Joaquin M Lopez Munoz.
* 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)
@@ -430,6 +430,7 @@ public:
safe_iterator(
const T0& t0,const T1& t1,safe_container* cont_):
super(Iterator(t0,t1)),safe_super(cont_){}
+ safe_iterator(const safe_iterator& x):super(x),safe_super(x){}
safe_iterator& operator=(const safe_iterator& x)
{
diff --git a/test/non_std_allocator.hpp b/test/non_std_allocator.hpp
index 44a3499..80f366c 100644
--- a/test/non_std_allocator.hpp
+++ b/test/non_std_allocator.hpp
@@ -1,6 +1,6 @@
/* Used in Boost.MultiIndex tests.
*
- * Copyright 2003-2018 Joaquin M Lopez Munoz.
+ * Copyright 2003-2020 Joaquin M Lopez Munoz.
* 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)
@@ -113,6 +113,7 @@ public:
non_std_allocator(){}
non_std_allocator(const non_std_allocator&){}
templatenon_std_allocator(const non_std_allocator&,int=0){}
+ non_std_allocator& operator=(const non_std_allocator&){return *this;}
pointer allocate(size_type n)
{
diff --git a/test/test_key_extractors.cpp b/test/test_key_extractors.cpp
index 95643df..31eec10 100644
--- a/test/test_key_extractors.cpp
+++ b/test/test_key_extractors.cpp
@@ -1,6 +1,6 @@
/* Boost.MultiIndex test for key extractors.
*
- * Copyright 2003-2019 Joaquin M Lopez Munoz.
+ * Copyright 2003-2020 Joaquin M Lopez Munoz.
* 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)
@@ -46,6 +46,8 @@ struct test_class
test_class(int i=0):int_member(i),int_cmember(i){}
test_class(int i,int j):int_member(i),int_cmember(j){}
+ test_class(const test_class& x):
+ int_member(x.int_member),int_cmember(x.int_cmember){}
test_class& operator=(const test_class& x)
{