Commit 6725cd74 authored by gdr's avatar gdr
Browse files

Line up with libstdc++-v2 version of valarray.

	* bits/valarray_array.h (__valarray_product): Make inline.
	* src/valarray-inst.cc (__valarray_product): Remove explicit
	instantiation.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35189 138bc75d-0d04-0410-961f-82ee72b054a4
parent 151ad919
2000-07-22 Gabriel Dos Reis <gdr@codesourcery.com>
Line up with libstdc++-v2 version of valarray.
* bits/valarray_array.h (__valarray_product): Make inline.
* src/valarray-inst.cc (__valarray_product): Remove explicit
instantiation.
2000-07-21 H.J. Lu (hjl@gnu.org)
* acinclude.m4: Include <features.h> for glibc testing.
......
......@@ -285,7 +285,7 @@ namespace std
// Compute the product of all elements in range [__f, __l)
template<typename _Tp>
_Tp
inline _Tp
__valarray_product(const _Tp* __restrict__ __f,
const _Tp* __restrict__ __l)
{
......
......@@ -9,9 +9,6 @@ namespace std
template void
__valarray_copy(const size_t* __restrict__, size_t, size_t* __restrict__);
template size_t
__valarray_product(const size_t* __restrict__, const size_t* __restrict__);
template valarray<size_t>::valarray(size_t);
template valarray<size_t>::valarray(const valarray<size_t>&);
template valarray<size_t>::~valarray();
......
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