comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christoph.grein@eurocopter.com>
Subject: Re: GNAT: bug or feature?
Date: Mon, 15 Mar 2010 03:05:40 -0700 (PDT)
Date: 2010-03-15T03:05:40-07:00	[thread overview]
Message-ID: <587c6500-6de1-4ebf-b7b1-8d3b2949d05b@u9g2000yqb.googlegroups.com> (raw)
In-Reply-To: wcc7hpel88h.fsf@shell01.TheWorld.com

> It's a new feature of Ada 2005.

Some detail: Your derived type doesn't add any components, so Create
can be inherited without change.

IN Ada 95, it was felt annoying that even in this case, you have to
override the function. Ada 2005 corrects this.



  reply	other threads:[~2010-03-15 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-14 21:16 GNAT: bug or feature? Damien Carbonne
2010-03-15  0:49 ` Robert A Duff
2010-03-15 10:05   ` AdaMagica [this message]
2010-03-15 20:03     ` Damien Carbonne
2010-03-15 21:21       ` Robert A Duff
replies disabled

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