std.collection - changing the collection while iterating

Jeremy Powers via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 23 12:13:33 PDT 2015


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150623/bea853f3/attachment.html>


More information about the Digitalmars-d mailing list