Missing introspection? "How exactly this type is actually used"

Adam D Ruppe destructionator at gmail.com
Fri May 20 18:04:43 UTC 2022


On Friday, 20 May 2022 at 17:45:01 UTC, Ali Çehreli wrote:
> What if the user never uses those costly members of that 
> particular instantiation?

If the functions themselves are templates, if they are never 
used, it will never be instantiated. That's a way you can do this 
kind of thing.


More information about the Digitalmars-d mailing list