[patch] Fix comment typos in std_valarray.h

Volker Reichelt reichelt@igpm.rwth-aachen.de
Wed Jul 27 10:26:00 GMT 2005


On 27 Jul, Paolo Carlini wrote:
> Volker Reichelt wrote:
> 
>>The following patch fixes several comment typos in std_valarray.h:
>>
>>Ok for mainline?
>>
> While you are at it, please also fix that typo you told me about a few
> days ago... ;)

This is already in the following hunk (whos -> whose).

@@ -448,8 +448,8 @@ namespace std
        *
        *  A new valarray is constructed as a copy of this array with elements
        *  in shifted positions.  For an element with index i, the new position
-       *  is i - n.  The new valarray is the same size as the current one.
-       *  New elements without a value are set to 0.  Elements whos new
+       *  is i - n.  The new valarray has the same size as the current one.
+       *  New elements without a value are set to 0.  Elements whose new
        *  position is outside the bounds of the array are discarded.
        *
        *  Positive arguments shift toward index 0, discarding elements [0, n).

> If nobody of english mother tongue (Jonathan?) objects during the next
> day or so, please go ahead.

Ok.

> Thanks,
> Paolo.

Thanks,
Volker




More information about the Libstdc++ mailing list