comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Private primitive operations available to entire package hierarchy. Can it be done?
Date: Wed, 20 Jul 2005 22:10:54 -0500
Date: 2005-07-20T22:10:54-05:00	[thread overview]
Message-ID: <tIKdnT1qj9YejELfRVn-2Q@megapath.net> (raw)
In-Reply-To: 1121883276.400592.326630@o13g2000cwo.googlegroups.com

"Lucretia" <lucretia9@lycos.co.uk> wrote in message
news:1121883276.400592.326630@o13g2000cwo.googlegroups.com...
...
> I currently have a library where you have instances and these are not
> allocated with new (like GtkAda). So, I've found that the use of
> aliased is required in a fair few places. I'm wondering whether it
> would be better to follow the GtkAda style and allocate the objects
> using allocators. What do you lot think?

My two cents is that the types in question should be tagged (usually because
they're derived from controlled); if that's true, you don't need aliased to
be visible in the user code. (That's how Claw works). That might require a
thicker library than you have in mind, though.

                Randy.







  reply	other threads:[~2005-07-21  3:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 16:06 Private primitive operations available to entire package hierarchy. Can it be done? Lucretia
2005-07-07 16:17 ` OT: Joke Adrien Plisson
2005-07-07 16:24   ` Matthew Heaney
2005-07-07 19:10 ` Private primitive operations available to entire package hierarchy. Can it be done? Randy Brukardt
2005-07-13 15:40   ` Lucretia
2005-07-19 23:19     ` Randy Brukardt
2005-07-20 18:14       ` Lucretia
2005-07-21  3:10         ` Randy Brukardt [this message]
2005-07-25 18:14           ` Lucretia
2005-07-25 23:58             ` Randy Brukardt
2005-07-27 17:36               ` Lucretia
2005-07-27 21:28                 ` Randy Brukardt
2005-07-28 10:09                   ` Lucretia
2005-07-29  0:40                     ` Randy Brukardt
2005-08-02 15:55                       ` Lucretia
2005-08-03 18:26                         ` Lucretia
2005-08-03 20:04                           ` Randy Brukardt
2005-08-03 20:03                         ` Randy Brukardt
2005-08-08 18:04                           ` Lucretia
2005-08-08 20:47                             ` Randy Brukardt
replies disabled

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