comp.lang.ada
 help / color / mirror / Atom feed
* Limited types
@ 1998-05-22  0:00 Phani Putrevu
  1998-05-21  0:00 ` Matthew Heaney
  0 siblings, 1 reply; 4+ messages in thread
From: Phani Putrevu @ 1998-05-22  0:00 UTC (permalink / raw)



Hi,

very basic question :

How  exactly is limited type defined.. In the glossary of the on-line
RM, limited type is defined as a type for which the assignment operator
is not defined. What about the equality operator?  In the operators
section,  it is told that equality and inequality operators are
predefined for nonlimited types.  Does this follow from the assignment
operator not being allowed.

Thanks a lot,

Phani





^ permalink raw reply	[flat|nested] 4+ messages in thread
* limited types (Was: Records that could be arrays)
@ 2006-02-24 16:51 Thierry Bernier
  2006-02-24 21:57 ` Randy Brukardt
  0 siblings, 1 reply; 4+ messages in thread
From: Thierry Bernier @ 2006-02-24 16:51 UTC (permalink / raw)


Stephen Leake <stephe_on_the_web@toadmail.com> wrote : 

> If we implemented points as limited private types, we wouldn't be

Please do not.
limited is like the flu : a record containing a limited field must be 
limited itself.
For example, you can not extend a Gtk.Window.Gtk_Window_Type with an 
extension containing a limited type, or else the root of these types must 
be limited (and I don't own it).

limited should be used only when the type is really limited (when using 
accesses, tasks, etc).

Disagrees ?
--
Thierry Bernier

 




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-01  1:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-22  0:00 Limited types Phani Putrevu
1998-05-21  0:00 ` Matthew Heaney
  -- strict thread matches above, loose matches on Subject: below --
2006-02-24 16:51 limited types (Was: Records that could be arrays) Thierry Bernier
2006-02-24 21:57 ` Randy Brukardt
2006-02-25 11:06   ` Dmitry A. Kazakov
2006-02-25 15:05     ` Matthew Heaney
2006-02-26  9:00       ` Dmitry A. Kazakov
2006-02-26 18:20         ` Matthew Heaney
2006-02-26 20:52           ` Dmitry A. Kazakov
2006-02-26 22:07             ` Matthew Heaney
2006-02-27  9:11               ` Dmitry A. Kazakov
2006-02-27 14:34                 ` Georg Bauhaus
2006-02-27 16:05                   ` Dmitry A. Kazakov
2006-02-27 16:52                     ` Matthew Heaney
2006-02-27 20:21                       ` Dmitry A. Kazakov
2006-02-27 23:00                         ` Matthew Heaney
2006-02-28  9:39                           ` Dmitry A. Kazakov
2006-02-28 17:24                             ` Matthew Heaney
2006-02-28 19:06                               ` Dmitry A. Kazakov
2006-02-28 19:58                                 ` Matthew Heaney
2006-02-28 21:51                                   ` limited types Simon Wright
2006-03-01  1:59                                     ` Matthew Heaney

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