Commit 68e601d8 by Stephan Bergmann Committed by Jonathan Wakely

Fix std::unordered_map deduction guide

2017-11-27  Stephan Bergmann  <sbergman@redhat.com>

	* include/bits/unordered_map.h (unordered_map): Fix deduction guide.
	* include/debug/unordered_map (unordered_map): Likewise.

From-SVN: r255174
parent 42f74245
2017-11-27 Stephan Bergmann <sbergman@redhat.com>
* include/bits/unordered_map.h (unordered_map): Fix deduction guide.
* include/debug/unordered_map (unordered_map): Likewise.
2017-11-23 Jonathan Wakely <jwakely@redhat.com> 2017-11-23 Jonathan Wakely <jwakely@redhat.com>
* libsupc++/new (launder): Add nodiscard attribute. * libsupc++/new (launder): Add nodiscard attribute.
......
...@@ -1193,7 +1193,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER ...@@ -1193,7 +1193,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
-> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>; -> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>;
template<typename _Key, typename _Tp, typename _Allocator, template<typename _Key, typename _Tp, typename _Allocator,
_RequireAllocator<_Allocator>> typename = _RequireAllocator<_Allocator>>
unordered_map(initializer_list<pair<_Key, _Tp>>, _Allocator) unordered_map(initializer_list<pair<_Key, _Tp>>, _Allocator)
-> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>; -> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>;
......
...@@ -679,7 +679,7 @@ namespace __debug ...@@ -679,7 +679,7 @@ namespace __debug
-> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>; -> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>;
template<typename _Key, typename _Tp, typename _Allocator, template<typename _Key, typename _Tp, typename _Allocator,
_RequireAllocator<_Allocator>> typename = _RequireAllocator<_Allocator>>
unordered_map(initializer_list<pair<_Key, _Tp>>, _Allocator) unordered_map(initializer_list<pair<_Key, _Tp>>, _Allocator)
-> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>; -> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment