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

Basile B. b2.temp at gmx.com
Thu May 6 02:09:26 UTC 2021


On Wednesday, 5 May 2021 at 22:04:33 UTC, Andrei Alexandrescu 
wrote:
> 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?

related https://issues.dlang.org/show_bug.cgi?id=20740


More information about the Digitalmars-d mailing list