https://issues.dlang.org/show_bug.cgi?id=15320

John Colvin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin@gmail.
                   |                            |com

--- Comment #3 from John Colvin <[email protected]> ---
(In reply to Andrei Alexandrescu from comment #2)
> (In reply to John Colvin from comment #1)
> > You just mean in unittests, right? It's useful (necessary?) elsewhere.
> 
> Yah, unittests were the only use case I had in mind. What are others?

template constraints, sanity checks, only way of implementing some template
predicates (IIRC it appears quite a bit in std.range and std.traits for this).

--

Reply via email to