comp.lang.ada
 help / color / mirror / Atom feed
From: porton@ex-code.com (Victor Porton)
Subject: Problem with Booch iterators
Date: Sat, 09 Nov 2002 17:28:57 +0500
Date: 2002-11-09T12:35:00+00:00	[thread overview]
Message-ID: <3dcd00f3$0$307$bed64819@news.gradwell.net> (raw)

There are a serious misdesign of Booch iterators:

Declaring a record component of type Iterator'Class,
I get error "unconstrained subtype in component declaration".

So for every non-abstract collection type, a concrete iterator
type should be visibly declared. It also suggests that types of
arguments of subrountines should be changed from Iterator'Class
to the appropriate concrete types.

Simon, why you've used Iterator'Class everywhere?



             reply	other threads:[~2002-11-09 12:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-09 12:28 Victor Porton [this message]
2002-11-09 19:43 ` Problem with Booch iterators Simon Wright
2002-11-11  5:47 ` Victor Porton
2002-11-11 15:45 ` Ted Dennison
2002-11-13 19:39 ` Matthew Heaney
2002-11-14  6:44   ` Simon Wright
2002-11-15  0:41     ` Matthew Heaney
2002-11-15 12:47       ` Georg Bauhaus
2002-11-16  7:37       ` Simon Wright
replies disabled

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