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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!newsfeed.xs3.de!io.xs3.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada.Containers and concurrent modification exception. Date: Tue, 25 Sep 2018 17:32:02 -0500 Organization: JSA Research & Innovation Message-ID: References: <64f5bbad-2f06-4ea9-aa33-8c66e9cbb2a5@googlegroups.com> <95d94212-9ae3-423e-980f-705fea24744d@googlegroups.com> Injection-Date: Tue, 25 Sep 2018 22:32:12 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="20387"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:54426 Date: 2018-09-25T17:32:02-05:00 List-Id: "Petter Fryklund" wrote in message news:95d94212-9ae3-423e-980f-705fea24744d@googlegroups.com... > Personally I prefer passive iterators: Which has what to do with this discussion on tampering and dangling cursor checks? A passive iterator still needs a tampering check. Note that the Ada.Containers have these sort of iterators (in the form of iterators with access-to-procedure parameters). And they have tampering checks. Randy.