deque(size_type __n, const _Allocator& __a = _Allocator())
: _Base(__n, __a) { }
- deque(size_type __n, const _Tp& __value,
+ deque(size_type __n, const __type_identity_t<_Tp>& __value,
const _Allocator& __a = _Allocator())
: _Base(__n, __value, __a) { }
#else
typename = _RequireAllocator<_Allocator>>
deque(_InputIterator, _InputIterator, _Allocator = _Allocator())
-> deque<_ValT, _Allocator>;
+
+ template<typename _Tp, typename _Allocator = allocator<_Tp>,
+ typename = _RequireAllocator<_Allocator>>
+ deque(size_t, _Tp, _Allocator = _Allocator())
+ -> deque<_Tp, _Allocator>;
#endif
template<typename _Tp, typename _Alloc>
: _Base(__n, __al)
{ }
- forward_list(size_type __n, const _Tp& __value,
+ forward_list(size_type __n, const __type_identity_t<_Tp>& __value,
const allocator_type& __al = allocator_type())
: _Base(__n, __value, __al)
{ }
typename = _RequireAllocator<_Allocator>>
forward_list(_InputIterator, _InputIterator, _Allocator = _Allocator())
-> forward_list<_ValT, _Allocator>;
+
+ template<typename _Tp, typename _Allocator = allocator<_Tp>,
+ typename = _RequireAllocator<_Allocator>>
+ forward_list(size_t, _Tp, _Allocator = _Allocator())
+ -> forward_list<_Tp, _Allocator>;
#endif
template<typename _Tp, typename _Alloc>
list(size_type __n, const allocator_type& __a = allocator_type())
: _Base(__n, __a) { }
- list(size_type __n, const _Tp& __value,
+ list(size_type __n, const __type_identity_t<_Tp>& __value,
const _Allocator& __a = _Allocator())
: _Base(__n, __value, __a) { }
#else
typename = _RequireAllocator<_Allocator>>
list(_InputIterator, _InputIterator, _Allocator = _Allocator())
-> list<_ValT, _Allocator>;
+
+ template<typename _Tp, typename _Allocator = allocator<_Tp>,
+ typename = _RequireAllocator<_Allocator>>
+ list(size_t, _Tp, _Allocator = _Allocator())
+ -> list<_Tp, _Allocator>;
#endif
template<typename _Tp, typename _Alloc>
vector(size_type __n, const _Allocator& __a = _Allocator())
: _Base(__n, __a), _Safe_vector(__n) { }
- vector(size_type __n, const _Tp& __value,
+ vector(size_type __n, const __type_identity_t<_Tp>& __value,
const _Allocator& __a = _Allocator())
: _Base(__n, __value, __a) { }
#else
typename = _RequireAllocator<_Allocator>>
vector(_InputIterator, _InputIterator, _Allocator = _Allocator())
-> vector<_ValT, _Allocator>;
+
+ template<typename _Tp, typename _Allocator = allocator<_Tp>,
+ typename = _RequireAllocator<_Allocator>>
+ vector(size_t, _Tp, _Allocator = _Allocator())
+ -> vector<_Tp, _Allocator>;
#endif
} // namespace __debug