How useful are ConstOf, SharedConstOf, ... in std.traits?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.com
Wed May 5 22:04:33 UTC 2021


I just added https://github.com/dlang/phobos/pull/8048. The 
spirit is strong but the flesh can't stop wondering: how 
necessary are these templates out there in the wild? I see uses 
in std.variant and std.sumtype, which strike me as niche.

Are there solid use cases for these templates?


More information about the Digitalmars-d mailing list