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!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: overloading operators Date: Wed, 21 Nov 2018 12:28:02 +0100 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <3e2acd57-a8c6-4e89-8d69-572cf4396aec@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 21 Nov 2018 11:28:03 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="daae5a73e3b7cf70f36e1f7c5414da05"; logging-data="7354"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/iABate7MnFrDTg8+i4qadNjYHnVFjhjg=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 Cancel-Lock: sha1:Crhw4y9Ll2vGeDv3NSaYPkXDh9I= In-Reply-To: <3e2acd57-a8c6-4e89-8d69-572cf4396aec@googlegroups.com> Content-Language: en-US Xref: reader01.eternal-september.org comp.lang.ada:54858 Date: 2018-11-21T12:28:02+01:00 List-Id: On 11/21/18 10:56 AM, hnptz@yahoo.de wrote: > How can I use the old and the overloaded operator at the same time in the same program for the same type? > For example: Overloaded "*" defined by user for type Real_Matrix and "*" defined in package Numerics.Real_Arrays for Real_Matrix. One can use Numerics.Real_Arrays."*" to refer to the "*" defined in Numerics.Real_Arrays. -- Jeff Carter "I certainly have not the talent which some people possess, ... of conversing easily with those I have never seen before." Pride and Prejudice 121