C++ guys hate static_if?

Walter Bright newshound2 at digitalmars.com
Thu Mar 14 14:51:52 PDT 2013


On 3/14/2013 1:57 PM, Timon Gehr wrote:
> Challenge accepted. Clearly the Phobos developers do not instantiate their
> templates before shipping them. :o)
>
> The following breaks most of std.range, and most of std.algorithm could likely
> be broken too, but I am too lazy to investigate.

Compiling with -cov -unittest shows:

std.range 86% covered

"good"

std.algorithm 96% covered

"excellent"



More information about the Digitalmars-d mailing list