-cov doesn't check templated code

bearophile bearophileHUGS at lycos.com
Thu Mar 14 09:09:00 PDT 2013


simendsjo:

> Code coverage doesn't work with templates. Is this by design?

A code coverage tells how many time a line of code is run at 
run-time. But your template contains no code that is run at 
run-time. So you are looking for a different kind of counter.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list