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
This commit is contained in:
parent
42f7424573
commit
68e601d879
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* libsupc++/new (launder): Add nodiscard attribute.
|
||||
|
|
|
@ -1193,7 +1193,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
|
|||
-> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>;
|
||||
|
||||
template<typename _Key, typename _Tp, typename _Allocator,
|
||||
_RequireAllocator<_Allocator>>
|
||||
typename = _RequireAllocator<_Allocator>>
|
||||
unordered_map(initializer_list<pair<_Key, _Tp>>, _Allocator)
|
||||
-> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>;
|
||||
|
||||
|
|
|
@ -679,7 +679,7 @@ namespace __debug
|
|||
-> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>;
|
||||
|
||||
template<typename _Key, typename _Tp, typename _Allocator,
|
||||
_RequireAllocator<_Allocator>>
|
||||
typename = _RequireAllocator<_Allocator>>
|
||||
unordered_map(initializer_list<pair<_Key, _Tp>>, _Allocator)
|
||||
-> unordered_map<_Key, _Tp, hash<_Key>, equal_to<_Key>, _Allocator>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue