Commit 0f719068 by Gabriel Dos Reis Committed by Gabriel Dos Reis

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

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

From-SVN: r41190
parent 2f878973
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 ...@@ -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]; }
......
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