Function attribute best practices

Ali Çehreli acehreli at yahoo.com
Mon Sep 12 18:12:06 UTC 2022


On 9/12/22 10:29, H. S. Teoh wrote:

> write a unittest where you instantiate Foo with a
> deliberately-impure type

Yes. A current on-topic thread on the difficulties of covering all 
corner cases:

   https://forum.dlang.org/thread/dmnfdqiplbldxkecpned@forum.dlang.org

Ali


More information about the Digitalmars-d-learn mailing list