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,WEIRD_QUOTING autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,951656122ecf7b3d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-18 06:58:15 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!news.cs.univ-paris8.fr!informatik.uni-bremen.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: pointer on an operator Date: Thu, 18 Mar 2004 14:58:14 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <5f59677c.0403180632.7c338bf7@posting.google.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1079621894 20436 134.91.1.34 (18 Mar 2004 14:58:14 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 18 Mar 2004 14:58:14 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:6408 Date: 2004-03-18T14:58:14+00:00 List-Id: Evangelista Sami wrote: : : i have tried this but the compilator complains on : "when plus_op => return "+"'access;" : : : expressions.adb:299:17: expected type "Function_Access" defined at : line 296 : expressions.adb:299:17: found type access to ""+"" defined at line 29 At first I thought you might rename "+" to "plus", say and then use plus'Access, but "+" is intrinsic. But you can make inlined plus wrapper functions and use access to these functions.