slices ; Stroustrup & libstdc++

Gerhard Wesp gwesp@cosy.sbg.ac.at
Mon Jun 19 07:54:00 GMT 2000


> mentioned that the valarray classes, "were not designed very well.
> In fact, nobody tried to determine whether the final specification
> worked."

  indeed i'm starting to get this impression.  (quite arrogant for a c++
newbie like me, isn't it? ;-) the standard doesn't seem
to define the very useful (IMO) computed assignment operators, like

    void operator*=(const T& x);

  only with other valarrays as arguments.

  well, c'est la vie, i guess, and i'll have to write my own loops.

  greetings,
-gerhard


More information about the Libstdc++ mailing list