C++ guys hate static_if?

Dmitry Olshansky dmitry.olsh at gmail.com
Thu Mar 14 12:53:33 PDT 2013


14-Mar-2013 23:46, Walter Bright пишет:
> On 3/14/2013 10:20 AM, Dmitry Olshansky wrote:
>> Maybe we then should help people that routinely instantiate their
>> templates to
>> see if they compile.
>
> We already have a tool to do this:
>
>     dmd -cov test.d
>

No it's not.
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.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list