comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: pointer on an operator
Date: Thu, 18 Mar 2004 14:58:14 +0000 (UTC)
Date: 2004-03-18T14:58:14+00:00	[thread overview]
Message-ID: <c3cde5$juk$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 5f59677c.0403180632.7c338bf7@posting.google.com

Evangelista Sami <evangeli@cnam.fr> 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.



      reply	other threads:[~2004-03-18 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-18 14:32 pointer on an operator Evangelista Sami
2004-03-18 14:58 ` Georg Bauhaus [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox