This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix comment typos in std_valarray.h


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]