[Issue 24197] Allow typeof(return) in template constraints

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 24 16:56:45 UTC 2023


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

Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp at gmx.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=20595

--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
You'll find an alternative syntax idea in
https://issues.dlang.org/show_bug.cgi?id=20595. For the functionality in
itself, comment #1 suggested to use a static assert in an `out` contract.

--


More information about the Digitalmars-d-bugs mailing list