Postmortem: Template unittests are bad & you shouldn't catch Error

Meta jared771 at gmail.com
Thu Oct 22 16:19:30 UTC 2020


On Thursday, 22 October 2020 at 04:04:26 UTC, Mathias LANG wrote:
<snip>
It just occurred to me that putting `version(none)` on those 
tests *might* disable them while also ensuring that the tests 
show up in the documentation (which was the idea behind putting 
them in there), but I'm not sure about that. I know that 
something like `static if (false) { declarations... }` will omit 
them.


More information about the Digitalmars-d mailing list