C++ guys hate static_if?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Mar 14 14:40:43 PDT 2013


On 3/14/13 3:53 PM, Dmitry Olshansky wrote:
> It's I'm out of words to even begin to describe how it doesn't do what's
> needed in this case. To start 'dmd -cov test.d' doesn't instantiate all
> of templates (or generate code to do so) with the right sets of types
> auto-magically.

You are well understood. What a coverage test does help with is show you 
there is code that has never been instantiated.

Andrei




More information about the Digitalmars-d mailing list