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

Jonathan M Davis jmdavisprog at gmail.com
Sat Aug 21 18:37:38 PDT 2010

On Saturday 21 August 2010 16:34:02 David Simcha wrote:
>  I disagree for two reasons:
>  1.  enforce() generates so much code that it's likely that very few
> compilers would inline it, and then also inline the function calling it.

I thought that the issue wasn't so much that enforce() isn't inlined as that a 
function which called enforce() isn't inlined.

- Jonathan M Davis

More information about the phobos mailing list