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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.97.134 with SMTP id ea6mr4505818obb.10.1438714828406; Tue, 04 Aug 2015 12:00:28 -0700 (PDT) X-Received: by 10.140.92.81 with SMTP id a75mr61156qge.14.1438714828380; Tue, 04 Aug 2015 12:00:28 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!enother.net!enother.net!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!f3no7511167igg.0!news-out.google.com!78ni6391qge.1!nntp.google.com!z61no5245969qge.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 4 Aug 2015 12:00:28 -0700 (PDT) In-Reply-To: <186o8cox1jqwa.yahqsx8p0k84$.dlg@40tude.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.201.165.65; posting-account=6m7axgkAAADBKh082FfZLdYsJ24CXYi5 NNTP-Posting-Host: 85.201.165.65 References: <12wxvkghwgpw3.k4qf1rqnppjb$.dlg@40tude.net> <8b424e66-337a-4943-91d1-e421312b5c95@googlegroups.com> <186o8cox1jqwa.yahqsx8p0k84$.dlg@40tude.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3341271b-4926-40cb-a9aa-660522d56f24@googlegroups.com> Subject: Re: Design of cross referring types/classes and proper usage of containers From: Serge Robyns Injection-Date: Tue, 04 Aug 2015 19:00:28 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 1763 X-Received-Body-CRC: 2633134409 Xref: news.eternal-september.org comp.lang.ada:27354 Date: 2015-08-04T12:00:28-07:00 List-Id: And I've a final question based on the advise. Given static (immutable data) one one hand and dynamic data (changed during= the execution) on the other hand; stored in various containers. What is a= ctually the best approach? Shall I Storing the full element of objects or r= eferences created through new T_xyz? If I want to use an access variables in the first method, do I need to pass= an aliased type?