You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/12/07 01:46:07 UTC

svn commit: r601935 - /incubator/stdcxx/trunk/include/valarray

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 <vi...@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);
 }