comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Ada.Real_Time.Time_Last
Date: Sat, 18 Nov 2017 15:15:14 +0100
Date: 2017-11-18T15:15:14+01:00	[thread overview]
Message-ID: <oupf9j$170$1@dont-email.me> (raw)
In-Reply-To: <f7aq9hFrlubU1@mid.individual.net>

On 11/18/2017 02:18 PM, Niklas Holsti wrote:
>>>
>>>     type Count is private range <>;
> 
> This proposal is meant to remove this problem, by letting the 
> programmer provide more information about the private type, in the same way as 
> information can now be provided about generic formal types, to equip those types 
> with predefined operators that can be used in the generic.

If by that you mean that all the operations available for a generic formal

    type Count is range <>;

are also available for this private type, then Count'First and Count'Last are 
available, and there's nothing private about the type at all. I can't see that 
this buys anything.

-- 
Jeff Carter
"I don't know why I ever come in here. The
flies get the best of everything."
Never Give a Sucker an Even Break
102


  parent reply	other threads:[~2017-11-18 14:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 14:28 Ada.Real_Time.Time_Last Simon Wright
2017-11-15 20:03 ` Ada.Real_Time.Time_Last Niklas Holsti
2017-11-17  9:20   ` Ada.Real_Time.Time_Last Simon Wright
2017-11-17 21:39     ` Ada.Real_Time.Time_Last Niklas Holsti
2017-11-18 13:06       ` Ada.Real_Time.Time_Last AdaMagica
2017-11-18 13:18         ` Ada.Real_Time.Time_Last Niklas Holsti
2017-11-18 14:00           ` Ada.Real_Time.Time_Last AdaMagica
2017-11-18 14:15           ` Jeffrey R. Carter [this message]
2017-11-18 15:24             ` Ada.Real_Time.Time_Last Niklas Holsti
2017-11-18 16:01               ` Ada.Real_Time.Time_Last Dmitry A. Kazakov
2017-11-18 17:31                 ` Ada.Real_Time.Time_Last Niklas Holsti
2017-11-18 22:20               ` Ada.Real_Time.Time_Last Robert A Duff
2017-11-19 10:50                 ` Ada.Real_Time.Time_Last Niklas Holsti
2017-11-20  5:57                 ` Ada.Real_Time.Time_Last J-P. Rosen
2019-01-29 22:03       ` Ada.Real_Time.Time_Last 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