std_valarray.h (valarray<>::operator[]): Make inline.

* include/bits/std_valarray.h(valarray<>::operator[]): Make
      inline.

From-SVN: r41190
This commit is contained in:
Gabriel Dos Reis 2001-04-08 16:20:49 +00:00 committed by Gabriel Dos Reis
parent 2f878973cd
commit 0f7190689e
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* testsuite/25_algorithms/equal.cc: New test.

View File

@ -241,7 +241,7 @@ namespace std
{ return _M_data[__i]; }
template<typename _Tp>
_Tp&
inline _Tp&
valarray<_Tp>::operator[] (size_t __i)
{ return _M_data[__i]; }