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,1ed4b5bd91d02f0b X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!newscon02.news.prodigy.net!prodigy.net!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: using an Ada.Container as a private type Date: Fri, 04 Apr 2008 13:25:35 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <42c84166-c7e4-42e0-b1bf-2104d3bb0cda@e10g2000prf.googlegroups.com> <5c9b6d27-d54a-43ae-aba8-8ef4b522fbc5@e10g2000prf.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1207329935 16323 192.74.137.71 (4 Apr 2008 17:25:35 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 4 Apr 2008 17:25:35 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:FqlISUASICTSxFXLdcaxBUpCTNM= Xref: g2news1.google.com comp.lang.ada:20808 Date: 2008-04-04T13:25:35-04:00 List-Id: Graham writes: > Good question. The intention was not to derive from Map at all: I > simply wanted to keep the fact that it was implemented as a Map > private. Is there a better way of doing that,... You could say: type Payment_Stream is record M : Payment_Stream_Package.Map; end record; which might be better, depending on what you want. >... or is keeping it private > overdesign? No. - Bob