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,6a11907952c890f5 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Visible or hidden derivation for controlled types ? Date: 1997/03/16 Message-ID: #1/1 X-Deja-AN: 226102555 References: <3329621A.3E9D@elca-matrix.ch> Organization: New York University Newsgroups: comp.lang.ada Date: 1997-03-16T00:00:00+00:00 List-Id: <> I am not sure I agree, it is certainly part of the visible public specification that the type has automatic storage collection on destruction, which in Ada, typically means that it is controlled. It seems quite natural to put the Finalize in the public part, and use it as the focal point for the documentation that provides for automatic storage collection. The counter argument is that the implementation might have garbage collection, and not need the finalize, and that therefore it is indeed an implementation detail.