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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3d9f3074dc2c4699 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: How to overload assignment in Ada 95? Date: 1996/12/10 Message-ID: #1/1 X-Deja-AN: 203356211 distribution: usa references: <58aclh$ssd@gaia.cc.gatech.edu> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-12-10T00:00:00+00:00 List-Id: In article , Matthew Heaney wrote: >In the former case, clients of the Unbounded_Stack have direct visibility >to the operations Initialize, Finalize, and Adjust. When is this a good >thing? A bad thing? It is a good thing if you want people to be able to extend the type -- they will override Finalize and friends (and the new version should call the parent version). If you don't want that, or want to restrict such type extensions to child packages, then use the second method. - Bob