mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-30 05:39:36 +08:00
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
This commit is contained in:
parent
75d9a5e709
commit
b426bedd5d
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
* bits/valarray_meta.h: Fix typos...
|
||||
|
@ -296,7 +296,7 @@ namespace std
|
||||
|
||||
// Compute the min/max of an array-expression
|
||||
template<typename _Ta>
|
||||
inline typename _Ta::value_array
|
||||
inline typename _Ta::value_type
|
||||
__valarray_min(const _Ta& __a)
|
||||
{
|
||||
size_t __s = __a.size();
|
||||
@ -312,7 +312,7 @@ namespace std
|
||||
}
|
||||
|
||||
template<typename _Ta>
|
||||
inline typename _Ta::value_array
|
||||
inline typename _Ta::value_type
|
||||
__valarray_max(const _Ta& __a)
|
||||
{
|
||||
size_t __s = __a.size();
|
||||
|
Loading…
Reference in New Issue
Block a user