std_valarray.h (valarray<>::operator[]): Make inline.
* include/bits/std_valarray.h(valarray<>::operator[]): Make inline. From-SVN: r41190
This commit is contained in:
parent
2f878973cd
commit
0f7190689e
@ -1,3 +1,8 @@
|
|||||||
|
2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
|
||||||
|
|
||||||
|
* include/bits/std_valarray.h(valarray<>::operator[]): Make
|
||||||
|
inline.
|
||||||
|
|
||||||
2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
|
2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
|
||||||
|
|
||||||
* testsuite/25_algorithms/equal.cc: New test.
|
* testsuite/25_algorithms/equal.cc: New test.
|
||||||
|
@ -241,7 +241,7 @@ namespace std
|
|||||||
{ return _M_data[__i]; }
|
{ return _M_data[__i]; }
|
||||||
|
|
||||||
template<typename _Tp>
|
template<typename _Tp>
|
||||||
_Tp&
|
inline _Tp&
|
||||||
valarray<_Tp>::operator[] (size_t __i)
|
valarray<_Tp>::operator[] (size_t __i)
|
||||||
{ return _M_data[__i]; }
|
{ return _M_data[__i]; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user