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,a3736685ef876ab2 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!sn-xt-sjc-05!sn-xt-sjc-07!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail From: Matthew Heaney Newsgroups: comp.lang.ada Subject: Re: OO Style with Ada Containers Date: Mon, 19 Nov 2007 01:03:58 +0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <1195082906.420079.195000@d55g2000hsg.googlegroups.com> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:pPgmWTf2sNE/iXX0u9nhQuSUJUQ= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Xref: g2news1.google.com comp.lang.ada:18492 Date: 2007-11-19T01:03:58+00:00 List-Id: braver writes: > -- but this is all very not-warm-and-fuzzy... How do you make the > usage of Ada Containers less verbose? As was pointed out, the container types are tagged, which means you can use distinguished-receiver syntax. Cursor types are not tagged, mostly because an operation cannot be primitive for more than a single tagged type; the container type is already tagged, so that means the cursor type cannot also be tagged (since they appear together as parameters in several operations).