comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Use of abstract tagged types without access types
Date: Sun, 12 Jun 2011 07:51:11 +0200
Date: 2011-06-12T07:51:11+02:00	[thread overview]
Message-ID: <op.vwx7vlehule2fv@douda-yannick> (raw)
In-Reply-To: 661061d7-cc2a-45ff-b7e2-28b8f885cd02@n10g2000vby.googlegroups.com

Le Thu, 09 Jun 2011 19:44:05 +0200, Prof. Dr. Carl Weierstrass  
<carl.weierstrass@googlemail.com> a écrit:
>    type Parent_Type is new Ada.Finalization.Controlled with record
>          Child : Child_Type'Class;
>    end record;
That looks a strange design to my eyes, just like if you were to reinvent  
the concept of class-wide type.

I would enjoy enough to know the finality of this design.

-- 
“Syntactic sugar causes cancer of the semi-colons.”  [Epigrams on  
Programming — Alan J. — P. Yale University]
“Structured Programming supports the law of the excluded muddle.” [Idem]
“c++; /* this makes c bigger but returns the old value */” [Anonymous]



      parent reply	other threads:[~2011-06-12  5:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09 17:44 Use of abstract tagged types without access types Prof. Dr. Carl Weierstrass
2011-06-10  6:53 ` AdaMagica
2011-06-10  7:17   ` Simon Wright
2011-06-10  9:42     ` AdaMagica
2011-06-12  5:51 ` Yannick Duchêne (Hibou57) [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