mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-11 05:14:05 +00:00
abode by [depr.impldec]
This commit is contained in:
parent
c9a21d79d6
commit
89b4ff7bbf
@ -72,6 +72,10 @@ Acknowledgements
|
|||||||
in accordance with standard specifications in <b>[swappable.requirements]</b>
|
in accordance with standard specifications in <b>[swappable.requirements]</b>
|
||||||
(<a href="https://github.com/boostorg/multi_index/issues/29">issue #29</a>).
|
(<a href="https://github.com/boostorg/multi_index/issues/29">issue #29</a>).
|
||||||
</li>
|
</li>
|
||||||
|
<li>Provided some internal copy constructors and assignment operators whose default
|
||||||
|
implicit definition is deprecated in C++11 onwards (<b>[depr.impldec]</b>), which
|
||||||
|
was warned about on some compilers.
|
||||||
|
</li>
|
||||||
<li>Maintenance work.</li>
|
<li>Maintenance work.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
@ -650,9 +654,9 @@ Acknowledgements
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<p>Revised November 18th 2019</p>
|
<p>Revised January 21st 2020</p>
|
||||||
|
|
||||||
<p>© Copyright 2003-2019 Joaquín M López Muñoz.
|
<p>© Copyright 2003-2020 Joaquín M López Muñoz.
|
||||||
Distributed under the Boost Software
|
Distributed under the Boost Software
|
||||||
License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt">
|
License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt">
|
||||||
LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">
|
LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">
|
||||||
|
@ -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.
|
* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@ -430,6 +430,7 @@ public:
|
|||||||
safe_iterator(
|
safe_iterator(
|
||||||
const T0& t0,const T1& t1,safe_container<container_type>* cont_):
|
const T0& t0,const T1& t1,safe_container<container_type>* cont_):
|
||||||
super(Iterator(t0,t1)),safe_super(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)
|
safe_iterator& operator=(const safe_iterator& x)
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Used in Boost.MultiIndex tests.
|
/* 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.
|
* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@ -113,6 +113,7 @@ public:
|
|||||||
non_std_allocator(){}
|
non_std_allocator(){}
|
||||||
non_std_allocator(const non_std_allocator<T>&){}
|
non_std_allocator(const non_std_allocator<T>&){}
|
||||||
template<class U>non_std_allocator(const non_std_allocator<U>&,int=0){}
|
template<class U>non_std_allocator(const non_std_allocator<U>&,int=0){}
|
||||||
|
non_std_allocator& operator=(const non_std_allocator<T>&){return *this;}
|
||||||
|
|
||||||
pointer allocate(size_type n)
|
pointer allocate(size_type n)
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Boost.MultiIndex test for key extractors.
|
/* 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.
|
* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* 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=0):int_member(i),int_cmember(i){}
|
||||||
test_class(int i,int j):int_member(i),int_cmember(j){}
|
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)
|
test_class& operator=(const test_class& x)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user