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. From-SVN: r35189
This commit is contained in:
parent
d207ebef02
commit
4a0d2ea601
@ -1,3 +1,10 @@
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user