std.collection - changing the collection while iterating

philippecp via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 29 21:02:46 PDT 2015


On Tuesday, 23 June 2015 at 19:13:43 UTC, Jeremy Powers wrote:
> On Mon, Jun 22, 2015 at 8:39 PM, philippecp via Digitalmars-d < 
> digitalmars-d at puremagic.com> wrote:
>
>>
>> I think the best approach is the following:
>> * Throw exceptions on debug (usability)
>> * Leave undefined on release (performance)
>>
>
> Please no.
>
> Different behavior between release and non is not something to 
> be desired.

Yeah, wrote that late at night, what I actually meant was for 
assertions in debug.


More information about the Digitalmars-d mailing list