Merge branch 'cpp-btree' into jgrpp
This commit is contained in:
8
src/3rdparty/cpp-btree/btree_map.h
vendored
8
src/3rdparty/cpp-btree/btree_map.h
vendored
@@ -64,13 +64,13 @@ class btree_map : public btree_map_container<
|
||||
}
|
||||
|
||||
// Move constructor.
|
||||
btree_map(self_type &&x)
|
||||
btree_map(self_type &&x) noexcept
|
||||
: super_type() {
|
||||
this->swap(x);
|
||||
}
|
||||
|
||||
// Copy/move assignment
|
||||
self_type& operator=(self_type x) {
|
||||
self_type& operator=(self_type x) noexcept {
|
||||
this->swap(x);
|
||||
return *this;
|
||||
}
|
||||
@@ -123,13 +123,13 @@ class btree_multimap : public btree_multi_container<
|
||||
}
|
||||
|
||||
// Move constructor.
|
||||
btree_multimap(self_type &&x)
|
||||
btree_multimap(self_type &&x) noexcept
|
||||
: super_type() {
|
||||
this->swap(x);
|
||||
}
|
||||
|
||||
// Copy/move assignment
|
||||
self_type& operator=(self_type x) {
|
||||
self_type& operator=(self_type x) noexcept {
|
||||
this->swap(x);
|
||||
return *this;
|
||||
}
|
||||
|
8
src/3rdparty/cpp-btree/btree_set.h
vendored
8
src/3rdparty/cpp-btree/btree_set.h
vendored
@@ -59,13 +59,13 @@ class btree_set : public btree_unique_container<
|
||||
}
|
||||
|
||||
// Move constructor.
|
||||
btree_set(self_type &&x)
|
||||
btree_set(self_type &&x) noexcept
|
||||
: super_type() {
|
||||
this->swap(x);
|
||||
}
|
||||
|
||||
// Copy/move assignment
|
||||
self_type& operator=(self_type x) {
|
||||
self_type& operator=(self_type x) noexcept {
|
||||
this->swap(x);
|
||||
return *this;
|
||||
}
|
||||
@@ -114,13 +114,13 @@ class btree_multiset : public btree_multi_container<
|
||||
}
|
||||
|
||||
// Move constructor.
|
||||
btree_multiset(self_type &&x)
|
||||
btree_multiset(self_type &&x) noexcept
|
||||
: super_type() {
|
||||
this->swap(x);
|
||||
}
|
||||
|
||||
// Copy/move assignment
|
||||
self_type& operator=(self_type x) {
|
||||
self_type& operator=(self_type x) noexcept {
|
||||
this->swap(x);
|
||||
return *this;
|
||||
}
|
||||
|
4
src/3rdparty/cpp-btree/safe_btree_map.h
vendored
4
src/3rdparty/cpp-btree/safe_btree_map.h
vendored
@@ -70,13 +70,13 @@ class safe_btree_map : public btree_map_container<
|
||||
}
|
||||
|
||||
// Move constructor.
|
||||
safe_btree_map(self_type &&x)
|
||||
safe_btree_map(self_type &&x) noexcept
|
||||
: super_type() {
|
||||
this->swap(x);
|
||||
}
|
||||
|
||||
// Copy/move assignment
|
||||
self_type& operator=(self_type x) {
|
||||
self_type& operator=(self_type x) noexcept {
|
||||
this->swap(x);
|
||||
return *this;
|
||||
}
|
||||
|
4
src/3rdparty/cpp-btree/safe_btree_set.h
vendored
4
src/3rdparty/cpp-btree/safe_btree_set.h
vendored
@@ -69,13 +69,13 @@ class safe_btree_set : public btree_unique_container<
|
||||
}
|
||||
|
||||
// Move constructor.
|
||||
safe_btree_set(self_type &&x)
|
||||
safe_btree_set(self_type &&x) noexcept
|
||||
: super_type() {
|
||||
this->swap(x);
|
||||
}
|
||||
|
||||
// Copy/move assignment
|
||||
self_type& operator=(self_type x) {
|
||||
self_type& operator=(self_type x) noexcept {
|
||||
this->swap(x);
|
||||
return *this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user