stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r601935 - /incubator/stdcxx/trunk/include/valarray
Date Fri, 07 Dec 2007 00:46:07 GMT
Author: sebor
Date: Thu Dec  6 16:46:06 2007
New Revision: 601935

URL: http://svn.apache.org/viewvc?rev=601935&view=rev
Log:
2007-12-04 Travis Vitek <vitek@roguewave.com>

	STDCXX-603
	* include/valarray (apply): Avoid use of typedef in function
	type to avoid linker error with VisualAge C++.

Modified:
    incubator/stdcxx/trunk/include/valarray

Modified: incubator/stdcxx/trunk/include/valarray
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/valarray?rev=601935&r1=601934&r2=601935&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/valarray (original)
+++ incubator/stdcxx/trunk/include/valarray Thu Dec  6 16:46:06 2007
@@ -596,7 +596,7 @@
 
 template <class _TypeT>
 inline valarray<_TypeT>
-valarray<_TypeT>::apply (value_type __fun (value_type)) const
+valarray<_TypeT>::apply (_TypeT __fun (_TypeT)) const
 {
     return _RW::__rw_unary_function (*this, __fun);
 }
@@ -604,7 +604,7 @@
 
 template <class _TypeT>
 inline valarray<_TypeT>
-valarray<_TypeT>::apply (value_type __fun (const value_type&)) const
+valarray<_TypeT>::apply (_TypeT __fun (const _TypeT&)) const
 {
     return _RW::__rw_unary_function (*this, __fun);
 } 



Mime
View raw message