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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9ec92fb9d5eb54fd X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!nntp.abs.net!newsfeed.cw.net!news-FFM2.ecrc.de!news.germany.com!ecngs!feeder.ecngs.de!proxad.net!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: redefinition of the operator Date: Mon, 21 Nov 2005 15:26:53 +0100 Organization: Adalog Message-ID: References: <8399001.SXf9EOrb0V@linux1.krischik.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1132585272 9554 195.25.228.57 (21 Nov 2005 15:01:12 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Mon, 21 Nov 2005 15:01:12 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en In-Reply-To: <8399001.SXf9EOrb0V@linux1.krischik.com> Xref: g2news1.google.com comp.lang.ada:6514 Date: 2005-11-21T15:26:53+01:00 List-Id: Martin Krischik a �crit : > Francesco Bochicchio wrote: > > >>But this does not work.The function Test_MyOperators >>keep using the standard "+" instead of the redefined one >>exported by MY_OPERATORS. >> >>Anybody knows how to do this? > > > Well, interesting. And No, I don't know the reason - the language lawyers > will tell you soon. > Because the redefined operators are use-visible, while the predefined ones are directly visible (declared in Standard). A use clause never hides something that is directly visible. -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr