comp.lang.ada
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: Another good URL for all you C++ haters
Date: Sat, 08 Sep 2001 12:11:11 +0200
Date: 2001-09-08T12:11:11+02:00	[thread overview]
Message-ID: <877kvadmbk.fsf@deneb.enyo.de> (raw)
In-Reply-To: 3B9909EC.249E165D@avercom.net

Tucker Taft <stt@avercom.net> writes:

> Ada requires the full definition of a private type to be
> in the package spec, but it doesn't require the declaration
> of "helper" functions the way C++ does.  Helper functions
> can be declared in the package body, without perturbing the spec.

If you do this, these helper subprograms aren't primitive operations,
are they?  In C++, it is possible to have private virtual member
functions.  I'm not sure if you really need them in C++ (perhaps for
something RTTI-related things?), and you can probably use class-wide
programming to achieve the same effect in Ada.



      reply	other threads:[~2001-09-08 10:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-05 11:08 Another good URL for all you C++ haters Chris M. Moore
2001-09-05 12:22 ` Gerhard Häring
2001-09-05 13:43   ` Ted Dennison
2001-09-06 12:04     ` Chris M. Moore
2001-09-06 19:12       ` Robert Dewar
2001-09-07 10:30         ` Chris M. Moore
2001-09-07 11:12           ` Larry Kilgallen
2001-09-08  9:37           ` Florian Weimer
2001-09-05 14:43 ` James Rogers
2001-09-05 21:25 ` Florian Weimer
2001-09-05 21:49   ` James Rogers
2001-09-06 15:33     ` John McCabe
2001-09-06 16:57       ` James Rogers
2001-09-07 17:54   ` Tucker Taft
2001-09-08 10:11     ` Florian Weimer [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