summaryrefslogtreecommitdiffstats
path: root/include/__tree
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-06-14 19:58:17 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-06-14 19:58:17 +0000
commit2b1b2d40d71786272dfb2670cadc468c890e400c (patch)
tree494e6c94a7fd9dba1da794d247920a93c3b40177 /include/__tree
parent8f5f2563aa2061dc7aafdceb170391163277bc89 (diff)
downloadexternal_libcxx-2b1b2d40d71786272dfb2670cadc468c890e400c.tar.gz
external_libcxx-2b1b2d40d71786272dfb2670cadc468c890e400c.tar.bz2
external_libcxx-2b1b2d40d71786272dfb2670cadc468c890e400c.zip
Provide names for template and function parameters in forward declarations. The purpose is to aid automated documentation tools.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@133008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__tree')
-rw-r--r--include/__tree26
1 files changed, 16 insertions, 10 deletions
diff --git a/include/__tree b/include/__tree
index 018d72909..676819b0b 100644
--- a/include/__tree
+++ b/include/__tree
@@ -21,13 +21,19 @@
_LIBCPP_BEGIN_NAMESPACE_STD
-template <class, class, class> class __tree;
-template <class, class, class> class _LIBCPP_VISIBLE __tree_iterator;
-template <class, class, class> class _LIBCPP_VISIBLE __tree_const_iterator;
-template <class, class, class, class> class _LIBCPP_VISIBLE map;
-template <class, class, class, class> class _LIBCPP_VISIBLE multimap;
-template <class, class, class> class _LIBCPP_VISIBLE set;
-template <class, class, class> class _LIBCPP_VISIBLE multiset;
+template <class _Tp, class _Compare, class _Allocator> class __tree;
+template <class _Tp, class _NodePtr, class _DiffType>
+ class _LIBCPP_VISIBLE __tree_iterator;
+template <class _Tp, class _ConstNodePtr, class _DiffType>
+ class _LIBCPP_VISIBLE __tree_const_iterator;
+template <class _Key, class _Tp, class _Compare, class _Allocator>
+ class _LIBCPP_VISIBLE map;
+template <class _Key, class _Tp, class _Compare, class _Allocator>
+ class _LIBCPP_VISIBLE multimap;
+template <class _Key, class _Compare, class _Allocator>
+ class _LIBCPP_VISIBLE set;
+template <class _Key, class _Compare, class _Allocator>
+ class _LIBCPP_VISIBLE multiset;
/*
@@ -494,7 +500,7 @@ __tree_remove(_NodePtr __root, _NodePtr __z) _NOEXCEPT
}
}
-template <class> class __map_node_destructor;
+template <class _Allocator> class __map_node_destructor;
template <class _Allocator>
class __tree_node_destructor
@@ -606,8 +612,8 @@ public:
#endif // !defined(_LIBCPP_HAS_NO_RVALUE_REFERENCES) && !defined(_LIBCPP_HAS_NO_VARIADICS)
};
-template <class> class __map_iterator;
-template <class> class __map_const_iterator;
+template <class _TreeIterator> class __map_iterator;
+template <class _TreeIterator> class __map_const_iterator;
template <class _Tp, class _NodePtr, class _DiffType>
class _LIBCPP_VISIBLE __tree_iterator