[phobos] enforce() vs. assert() for range primitives

Andrei Alexandrescu andrei at erdani.com
Sat Aug 21 14:29:46 PDT 2010


On 08/21/2010 01:52 PM, David Simcha wrote:
> It seems like the consensus here is that, for range primitives, assert()
> is the way to go. I'd like to commit the changes in time for the next
> release, but I'd like to have Andrei's nod first b/c he's been quiet
> throughout this discussion and he's the main designer of std.range and
> std.algorithm.

Thanks - I feel like a mobster who's being given respect :o). I thought 
of this a lot, and talked with Walter as well. Will get back with an 
opinion today.

Andrei


More information about the phobos mailing list