comp.lang.ada
 help / color / mirror / Atom feed
From: jsa@organon.com (Jon S Anthony)
Subject: Re: Q: inlining
Date: 1996/06/18
Date: 1996-06-18T00:00:00+00:00	[thread overview]
Message-ID: <JSA.96Jun18122113@organon.com> (raw)
In-Reply-To: JSA.96Jun15185352@organon.com


In article <Dt4F36.1pG.0.-s@inmet.camb.inmet.com> stt@henning.camb.inmet.com (Tucker Taft) writes:

> Jon S Anthony (jsa@organon.com) wrote:
> : In article <uvv20jh9j7p.fsf@chaq.informatik.uni-tuebingen.de> 
> : Hannes Haug <Hannes.Haug@Student.Uni-Tuebingen.de> writes:
> 
> : > Hi,
> : > 
> : > I'm new to Ada and have a question on inlining. Does
> : > inlining work across compilation units ? In C I can
> 
> : It can, yes.  I'm not sure if this is working in GNAT 3.05 yet or not.
> 
> 
> : > write the function definition in a header file. How
> : > can I do this in Ada ?
> 
> : In a package specification.  In fact, this is virtually a requirement
> : to getting any "real" work done.
> 
> This answer could be confusing.  In C++, the function *definition*
> usually needs to be in the header file for inlining to work.  In Ada,
> only the function *declaration* is allowed in the package spec.  The

I see that I have _COMPLETELY_ misunderstood the question.  Duh!
I apologize to all...

/Jon
-- 
Jon Anthony
Organon Motives, Inc.
1 Williston Road, Suite 4
Belmont, MA 02178

617.484.3383
jsa@organon.com





  parent reply	other threads:[~1996-06-18  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-06-15  0:00 Q: inlining Hannes Haug
1996-06-15  0:00 ` Jon S Anthony
1996-06-16  0:00   ` Robert Dewar
1996-06-17  0:00   ` Tucker Taft
1996-06-18  0:00   ` Jon S Anthony [this message]
1996-06-16  0:00 ` Hannes Haug
1996-06-18  0:00 ` Jon S Anthony
1996-06-19  0:00   ` Tucker Taft
1996-06-20  0:00     ` Robert Dewar
1996-06-20  0:00 ` Hannes Haug
1996-06-20  0:00   ` Robert Dewar
1996-06-24  0:00 ` Hannes Haug
replies disabled

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