From a46f5ce5bbf120f6a056c39a22f8023a816b76fe Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 18 Feb 2015 17:51:56 +0000 Subject: [PATCH] Move the default template arguments into the forward declarations for the container adapters: stack and queue. References PR#22605. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@229708 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/queue | 4 ++-- include/stack | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/queue b/include/queue index bdfd7060..6f49c87a 100644 --- a/include/queue +++ b/include/queue @@ -177,7 +177,7 @@ template _LIBCPP_BEGIN_NAMESPACE_STD -template class _LIBCPP_TYPE_VIS_ONLY queue; +template > class _LIBCPP_TYPE_VIS_ONLY queue; template _LIBCPP_INLINE_VISIBILITY @@ -189,7 +189,7 @@ _LIBCPP_INLINE_VISIBILITY bool operator< (const queue<_Tp, _Container>& __x,const queue<_Tp, _Container>& __y); -template > +template */> class _LIBCPP_TYPE_VIS_ONLY queue { public: diff --git a/include/stack b/include/stack index 30909c1e..2992b091 100644 --- a/include/stack +++ b/include/stack @@ -91,7 +91,7 @@ template _LIBCPP_BEGIN_NAMESPACE_STD -template class _LIBCPP_TYPE_VIS_ONLY stack; +template > class _LIBCPP_TYPE_VIS_ONLY stack; template _LIBCPP_INLINE_VISIBILITY @@ -103,7 +103,7 @@ _LIBCPP_INLINE_VISIBILITY bool operator< (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y); -template > +template */> class _LIBCPP_TYPE_VIS_ONLY stack { public: