slice_array.h (slice_array<T>::operator=(const T&)): Constify.

* include/bits/slice_array.h
        (slice_array<T>::operator=(const T&)): Constify.
        * include/bits/gslice_array.h
        (gslice_array<T>::operator=(const T&)):  Likewise.
        * include/bits/mask_array.h
        (mask_array<T>::operator=(const T&)): Likewise.
        * include/bits/indirect_array.h
        (indirect_array<T>::operator=(const T&): Likewise.
:w

From-SVN: r55577
This commit is contained in:
Gabriel Dos Reis 2002-07-19 04:45:20 +00:00 committed by Gabriel Dos Reis
parent ddebdfebad
commit bb403d6917
5 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,15 @@
2002-07-19 Gabriel Dos Reis <gdr@nerim.net>
DR/123
* include/bits/slice_array.h
(slice_array<T>::operator=(const T&)): Constify.
* include/bits/gslice_array.h
(gslice_array<T>::operator=(const T&)): Likewise.
* include/bits/mask_array.h
(mask_array<T>::operator=(const T&)): Likewise.
* include/bits/indirect_array.h
(indirect_array<T>::operator=(const T&): Likewise.
2002-07-17 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/run_doxygen: Remove template parameter names from

View File

@ -57,7 +57,7 @@ namespace std {
void operator|= (const valarray<_Tp>&) const;
void operator<<=(const valarray<_Tp>&) const;
void operator>>=(const valarray<_Tp>&) const;
void operator=(const _Tp&);
void operator=(const _Tp&) const;
template<class _Dom>
void operator= (const _Expr<_Dom,_Tp>&) const;
@ -113,7 +113,7 @@ namespace std {
template<typename _Tp>
inline void
gslice_array<_Tp>::operator= (const _Tp& __t)
gslice_array<_Tp>::operator= (const _Tp& __t) const
{
__valarray_fill (_M_array, _Array<size_t>(_M_index),
_M_index.size(), __t);

View File

@ -61,7 +61,7 @@ namespace std
void operator|= (const valarray<_Tp>&) const;
void operator<<= (const valarray<_Tp>&) const;
void operator>>= (const valarray<_Tp>&) const;
void operator= (const _Tp&);
void operator= (const _Tp&) const;
// ~indirect_array();
template<class _Dom>
@ -124,7 +124,7 @@ namespace std
template<typename _Tp>
inline void
indirect_array<_Tp>::operator= (const _Tp& __t)
indirect_array<_Tp>::operator= (const _Tp& __t) const
{ __valarray_fill(_M_array, _M_index, _M_sz, __t); }
template<typename _Tp>

View File

@ -57,7 +57,7 @@ namespace std {
void operator|= (const valarray<_Tp>&) const;
void operator<<=(const valarray<_Tp>&) const;
void operator>>=(const valarray<_Tp>&) const;
void operator= (const _Tp&);
void operator= (const _Tp&) const;
// ~mask_array ();
@ -114,7 +114,7 @@ namespace std {
template<typename _Tp>
inline void
mask_array<_Tp>::operator= (const _Tp& __t)
mask_array<_Tp>::operator= (const _Tp& __t) const
{ __valarray_fill (_M_array, _M_sz, _M_mask, __t); }
template<typename _Tp>

View File

@ -101,7 +101,7 @@ namespace std
void operator|=(const valarray<_Tp>&) const;
void operator<<=(const valarray<_Tp>&) const;
void operator>>=(const valarray<_Tp>&) const;
void operator=(const _Tp &);
void operator=(const _Tp &) const;
// ~slice_array ();
template<class _Dom>
@ -163,7 +163,7 @@ namespace std
template<typename _Tp>
inline void
slice_array<_Tp>::operator=(const _Tp& __t)
slice_array<_Tp>::operator=(const _Tp& __t) const
{ __valarray_fill(_M_array, _M_sz, _M_stride, __t); }
template<typename _Tp>