digitalmars.D - How useful are ConstOf, SharedConstOf, ... in std.traits?
- Andrei Alexandrescu (5/5) May 05 2021 I just added https://github.com/dlang/phobos/pull/8048. The
- Basile B. (3/8) May 05 2021 related https://issues.dlang.org/show_bug.cgi?id=20740
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?
May 05 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
May 05 2021