summaryrefslogtreecommitdiffstats
path: root/include/string
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/string
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/string')
-rw-r--r--include/string11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/string b/include/string
index f05fe367c..249af093c 100644
--- a/include/string
+++ b/include/string
@@ -972,23 +972,24 @@ char_traits<char32_t>::assign(char_type* __s, size_t __n, char_type __a)
template<class _CharT, class _Traits, class _Allocator>
basic_string<_CharT, _Traits, _Allocator>
-operator+(const basic_string<_CharT, _Traits, _Allocator>&, const basic_string<_CharT, _Traits, _Allocator>&);
+operator+(const basic_string<_CharT, _Traits, _Allocator>& __x,
+ const basic_string<_CharT, _Traits, _Allocator>& __y);
template<class _CharT, class _Traits, class _Allocator>
basic_string<_CharT, _Traits, _Allocator>
-operator+(const _CharT*, const basic_string<_CharT,_Traits,_Allocator>&);
+operator+(const _CharT* __x, const basic_string<_CharT,_Traits,_Allocator>& __y);
template<class _CharT, class _Traits, class _Allocator>
basic_string<_CharT, _Traits, _Allocator>
-operator+(_CharT, const basic_string<_CharT,_Traits,_Allocator>&);
+operator+(_CharT __x, const basic_string<_CharT,_Traits,_Allocator>& __y);
template<class _CharT, class _Traits, class _Allocator>
basic_string<_CharT, _Traits, _Allocator>
-operator+(const basic_string<_CharT, _Traits, _Allocator>&, const _CharT*);
+operator+(const basic_string<_CharT, _Traits, _Allocator>& __x, const _CharT* __y);
template<class _CharT, class _Traits, class _Allocator>
basic_string<_CharT, _Traits, _Allocator>
-operator+(const basic_string<_CharT, _Traits, _Allocator>&, _CharT);
+operator+(const basic_string<_CharT, _Traits, _Allocator>& __x, _CharT __y);
template <bool>
class __basic_string_common