From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,243dc2fb696a49cd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news.cs.univ-paris8.fr!newsfeed.vmunix.org!news-mue1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Ada Popularity: Comparison of Ada/Charles with C++ STL (and Perl) Date: Thu, 23 Sep 2004 11:35:06 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <1ec946d1.0409222224.6d86e038@posting.google.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1095939306 29976 134.91.1.34 (23 Sep 2004 11:35:06 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 23 Sep 2004 11:35:06 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: g2news1.google.com comp.lang.ada:4011 Date: 2004-09-23T11:35:06+00:00 List-Id: Jeff C r e e.m wrote: : : Populate_Vector : : declare : -- : -- As written, this line as absolutely no purpose : -- : procedure Append_To_V (C : Wordcount_Maps.Cursor); I find these lines useful as head lines. You can place a short comment below them. Then the implementation, which follows the commenting paragraph, is less disrupted. : procedure Append_To_V (C : Wordcount_Maps.Cursor) is : begin : Append (V, C); : end Append_To_V; : : N : constant Count_Type := Length (M); : begin : if Capacity (V) < N then : Ensure_Capacity (V, N); : end if; : : Iterate (M, Append_To_V'Access); : end Populate_Vector; -- Georg