Commit b426bedd by Gabriel Dos Reis Committed by Gabriel Dos Reis

valarray_array.h (__valarray_min, [...]): Fix thinko.

	* bits/valarray_array.h (__valarray_min, __valarray_max): Fix
	thinko. Diagnostic messages really need to be improved for
	template argument deduction.

From-SVN: r35804
parent 75d9a5e7
2000-08-19 Gabriel Dos Reis <gdr@codesourcery.com>
* bits/valarray_array.h (__valarray_min, __valarray_max): Fix
thinko. Diagnostic messages really need to be improved for
template argument deduction.
2000-08-18 Benjamin Kosnik <bkoz@gnu.org> 2000-08-18 Benjamin Kosnik <bkoz@gnu.org>
* bits/valarray_meta.h: Fix typos... * bits/valarray_meta.h: Fix typos...
......
...@@ -296,7 +296,7 @@ namespace std ...@@ -296,7 +296,7 @@ namespace std
// Compute the min/max of an array-expression // Compute the min/max of an array-expression
template<typename _Ta> template<typename _Ta>
inline typename _Ta::value_array inline typename _Ta::value_type
__valarray_min(const _Ta& __a) __valarray_min(const _Ta& __a)
{ {
size_t __s = __a.size(); size_t __s = __a.size();
...@@ -312,7 +312,7 @@ namespace std ...@@ -312,7 +312,7 @@ namespace std
} }
template<typename _Ta> template<typename _Ta>
inline typename _Ta::value_array inline typename _Ta::value_type
__valarray_max(const _Ta& __a) __valarray_max(const _Ta& __a)
{ {
size_t __s = __a.size(); size_t __s = __a.size();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment