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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,8fd45d32d7c94df3 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!y36g2000pra.googlegroups.com!not-for-mail From: Shark8 Newsgroups: comp.lang.ada Subject: Re: User Defined Storage Pool : did you ever experiment with it ? Date: Mon, 7 Feb 2011 15:57:50 -0800 (PST) Organization: http://groups.google.com Message-ID: <0829d66f-2252-4709-83d9-b8a8f3e44158@y36g2000pra.googlegroups.com> References: NNTP-Posting-Host: 174.28.151.164 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1297123070 25819 127.0.0.1 (7 Feb 2011 23:57:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 7 Feb 2011 23:57:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y36g2000pra.googlegroups.com; posting-host=174.28.151.164; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:17928 Date: 2011-02-07T15:57:50-08:00 List-Id: On Feb 7, 3:59=A0pm, Maciej Sobczak wrote: > > [*] For the sake of comparison, the passive iterator idiom that is > currently used with containers is not inline-friendly. Why do you say that? I personally don't mind doing something like: Declare Procedure Iterate ( Position : In Cursor ) is begin --- Implementation. end iterate; Begin Container.Iterate( Iterate'Access ); End; as the scope for Iterate is perfectly contained to where I want to apply the procedure; and even if that scope is too limited [say it's a commonly used iteration] I could move it into the library's scope.