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 > Re: using an Ad...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 9 Topic 5639 of 5800
Post > Topic >>

Re: using an Ada.Container as a private type

by Robert A Duff <bobduff@[EMAIL PROTECTED] > Apr 4, 2008 at 01:25 PM

Graham <graham.stark@[EMAIL PROTECTED]
> writes:

> Good question. The intention was not to derive from Map at all: I
> simply wanted to keep the fact that it was implemented as a Map
> private. Is there a better way of doing that,...

You could say:

    type Payment_Stream is
        record
            M : Payment_Stream_Package.Map;
        end record;

which might be better, depending on what you want.

>... or is keeping it private
> overdesign?

No.

- Bob
 




 9 Posts in Topic:
using an Ada.Container as a private type
Graham <graham.stark@[  2008-04-03 08:29:28 
Re: using an Ada.Container as a private type
Robert A Duff <bobduff  2008-04-03 12:00:24 
Re: using an Ada.Container as a private type
"Dmitry A. Kazakov&q  2008-04-03 18:02:48 
Re: using an Ada.Container as a private type
Graham <graham.stark@[  2008-04-03 09:20:40 
Re: using an Ada.Container as a private type
Maciej Sobczak <see.my  2008-04-03 13:41:10 
Re: using an Ada.Container as a private type
Graham <graham.stark@[  2008-04-04 01:02:30 
Re: using an Ada.Container as a private type
Robert A Duff <bobduff  2008-04-04 13:25:35 
Re: using an Ada.Container as a private type
Simon Wright <simon.j.  2008-04-04 20:37:38 
Re: using an Ada.Container as a private type
Adam Beneschan <adam@[  2008-04-04 08:57:55 

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 Jul 6 19:42:33 CDT 2008.