Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Constructor fun...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 5592 of 5881
Post > Topic >>

Constructor functions and extension aggregate

by Maciej Sobczak <see.my.homepage@[EMAIL PROTECTED] > Mar 12, 2008 at 06:37 AM

Consider:

http://www.adacore.com/2007/10/01/ada-gem-11/

The constructor function P.Make_T has:

   return (Name => To_Unbounded_String (Name), others => <>);

Shouldn't it be rather:

   return (Ada.Finalization.Limited_Controlled with
      Name => To_Unbounded_String (Name));

?

--
Maciej Sobczak * www.msobczak.com * www.inspirel.com
 




 3 Posts in Topic:
Constructor functions and extension aggregate
Maciej Sobczak <see.my  2008-03-12 06:37:53 
Re: Constructor functions and extension aggregate
christoph.grein@[EMAIL PR  2008-03-12 06:50:42 
Re: Constructor functions and extension aggregate
Robert A Duff <bobduff  2008-03-12 11:02:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 7:46:19 CDT 2008.