Author: sebor
Date: Thu Oct 18 13:21:03 2007
New Revision: 586118
URL: http://svn.apache.org/viewvc?rev=586118&view=rev
Log:
2007-10-18 Martin Sebor <[EMAIL PROTECTED]>
* string (_C_grow): Made private again, after inadvertently making
it public for MSVC in rev 544975 while fixing STDCXX-271 for HP aCC
and braking binary compatibiliy in programs compled with MSVC that
invoke the replace() member function template (which in turn calls
the inline but exported _C_grow()).
Modified:
incubator/stdcxx/branches/4.2.0/include/string
Modified: incubator/stdcxx/branches/4.2.0/include/string
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.0/include/string?rev=586118&r1=586117&r2=586118&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.0/include/string (original)
+++ incubator/stdcxx/branches/4.2.0/include/string Thu Oct 18 13:21:03 2007
@@ -504,8 +504,6 @@
return _C_make_iter (_C_data + __pos1);
}
-public:
-
#ifndef _RWSTD_NO_STRING_OUTLINED_MEMBER_TEMPLATES
template <class _InputIter>
@@ -518,6 +516,8 @@
_InputIter __first2, _InputIter __last2) {
return __rw_replace_aux (*this, __first1, __last1, __first2, __last2);
}
+
+public:
#endif // _RWSTD_NO_STRING_OUTLINED_MEMBER_TEMPLATES