diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-02-18 17:51:56 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-02-18 17:51:56 +0000 |
commit | 3afa22a3e728d22197978ab94d941140674b72ff (patch) | |
tree | 3b33e9fa047af394bb1673033960fda11d23e00a /libcxx/include/stack | |
parent | da52c55fc35dc2fc81fa9da5e9dc96dd352186ab (diff) | |
download | bcm5719-llvm-3afa22a3e728d22197978ab94d941140674b72ff.tar.gz bcm5719-llvm-3afa22a3e728d22197978ab94d941140674b72ff.zip |
Move the default template arguments into the forward declarations for the container adapters: stack and queue. References PR#22605.
llvm-svn: 229708
Diffstat (limited to 'libcxx/include/stack')
-rw-r--r-- | libcxx/include/stack | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/stack b/libcxx/include/stack index 30909c1ee3b..2992b091ee5 100644 --- a/libcxx/include/stack +++ b/libcxx/include/stack @@ -91,7 +91,7 @@ template <class T, class Container> _LIBCPP_BEGIN_NAMESPACE_STD -template <class _Tp, class _Container> class _LIBCPP_TYPE_VIS_ONLY stack; +template <class _Tp, class _Container = deque<_Tp> > class _LIBCPP_TYPE_VIS_ONLY stack; template <class _Tp, class _Container> _LIBCPP_INLINE_VISIBILITY @@ -103,7 +103,7 @@ _LIBCPP_INLINE_VISIBILITY bool operator< (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y); -template <class _Tp, class _Container = deque<_Tp> > +template <class _Tp, class _Container /*= deque<_Tp>*/> class _LIBCPP_TYPE_VIS_ONLY stack { public: |