Re: [sv-bc] Mantis 1702 - queue concatenation - proposal

From: Gordon Vreugdenhil <gordonv_at_.....>
Date: Mon Nov 19 2007 - 08:44:58 PST
Jonathan Bromley wrote:
[...]

>>     If the size exceeds the maximum number of elements of 
>>     a bounded queue,
>>     then elements beyond the upper bound of the target 
>>     shall be ignored and a warning shall be issued.
>> I'm not sure that I like this behavior for queues.
> 
> I don't like it much either, but I was trying to match the
> behaviour already defined for writing past the end of a 
> bounded queue.
> 
>> either make it illegal, or make it silent, or require 
>> warnings for push_back and similar past the end of a
>> fixed size queue.
> 
> The existing text of clause 7 already demands that a warning
> be issued, and I *thought* I'd said the same in the text
> you quote.  But I'd be very happy to change it (in both
> places) if the committee thinks it should be changed.


Sure enough -- I had missed that there was a required warning
already.  I have looked at the push_back, etc. description
but overlooked the earlier more general requirement.  So the
warning requirement is consistent with the other queue language.

Thanks for taking this on Jonathan!

Gord.


-- 
--------------------------------------------------------------------
Gordon Vreugdenhil                                503-685-0808
Model Technology (Mentor Graphics)                gordonv@model.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Nov 19 08:45:57 2007

This archive was generated by hypermail 2.1.8 : Mon Nov 19 2007 - 08:46:23 PST