[Issue 24521] Arguments supplied to template value parameters are not visible from the outside

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 25 12:54:41 UTC 2024


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

kinke <kinke at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #1 from kinke <kinke at gmx.net> ---
This is clearly invalid to me. A template param needs to be aliased to make it
accessible from the outside, like `struct S(int a) { alias blub = a; }`.

--


More information about the Digitalmars-d-bugs mailing list