slices ; Stroustrup & libstdc++

Levente Farkas !spam-lfarkas@mindmaker.hu
Tue Jun 20 01:05:00 GMT 2000


Gabriel Dos Reis wrote:
> However, changing
> 
>   T valarray<T>::operator[](int) const
> 
> to
> 
>  const T& valarray<T>::operator[](int) const
> 
> isn't adding any complexity at all. Nor is adding the assigment
> operators to the various *_array helper classes. Actually, the
> committee is putting the unnecessary complexities on the shoulders of
> the users.

Yes. I suggested it to the committee, but I've got a NAD too with 
some "reason":-(((

 -- Levente
 "The only thing worse than not knowing the truth is
  ruining the bliss of ignorance."


More information about the Libstdc++ mailing list