C++ guys hate static_if?

Timon Gehr timon.gehr at gmx.ch
Thu Mar 14 14:01:27 PDT 2013


On 03/14/2013 09:11 PM, Walter Bright wrote:
> On 3/14/2013 12:51 PM, Timon Gehr wrote:
>> On 03/14/2013 08:46 PM, Walter Bright wrote:
>>> 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
>>>
>>
>> But it does not work.
>>
>> See this recent D.learn thread:
>> http://forum.dlang.org/thread/wwjaeexnyaeqnqsqydte@forum.dlang.org
>
> -cov works fine for templates containing executable code.

Then it is not what Dmitry was asking for. Anyway -cov is near-useless 
for me because it does not support string mixins (execution attributed 
to wrong code line) and executable code coming from template mixins 
(sometimes counted, sometimes not).


More information about the Digitalmars-d mailing list