summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/unordered_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/unordered_map.h')
-rw-r--r--libstdc++-v3/include/bits/unordered_map.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/unordered_map.h b/libstdc++-v3/include/bits/unordered_map.h
index 74998ff7725..80b970c8cf5 100644
--- a/libstdc++-v3/include/bits/unordered_map.h
+++ b/libstdc++-v3/include/bits/unordered_map.h
@@ -82,6 +82,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
__eql, std::_Select1st<std::pair<const _Key, _Tp> >(), __a)
{ }
+ __unordered_map(const __unordered_map& __x) = default;
+
__unordered_map(__unordered_map&& __x)
: _Base(std::forward<_Base>(__x)) { }
};
@@ -137,6 +139,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
__eql, std::_Select1st<std::pair<const _Key, _Tp> >(), __a)
{ }
+ __unordered_multimap(const __unordered_multimap& __x) = default;
+
__unordered_multimap(__unordered_multimap&& __x)
: _Base(std::forward<_Base>(__x)) { }
};
@@ -246,6 +250,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
: _Base(__f, __l, __n, __hf, __eql, __a)
{ }
+ unordered_map(const unordered_map& __x) = default;
+
unordered_map(unordered_map&& __x)
: _Base(std::forward<_Base>(__x)) { }
@@ -258,6 +264,9 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
{ }
unordered_map&
+ operator=(const unordered_map& __x) = default;
+
+ unordered_map&
operator=(unordered_map&& __x)
{
// NB: DR 1204.
@@ -328,6 +337,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
: _Base(__f, __l, __n, __hf, __eql, __a)
{ }
+ unordered_multimap(const unordered_multimap& __x) = default;
+
unordered_multimap(unordered_multimap&& __x)
: _Base(std::forward<_Base>(__x)) { }
@@ -340,6 +351,9 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D)
{ }
unordered_multimap&
+ operator=(const unordered_multimap& __x) = default;
+
+ unordered_multimap&
operator=(unordered_multimap&& __x)
{
// NB: DR 1204.