https://issues.dlang.org/show_bug.cgi?id=13372
Basile-z changed:
What|Removed |Added
CC|b2.t...@gmx.com |
--
https://issues.dlang.org/show_bug.cgi?id=13372
Adam D. Ruppe changed:
What|Removed |Added
CC||destructiona...@gmail.com
--- Comment #5 fro
https://issues.dlang.org/show_bug.cgi?id=13372
b2.t...@gmx.com changed:
What|Removed |Added
CC||b2.t...@gmx.com
Summary|traits p
https://issues.dlang.org/show_bug.cgi?id=13372
b2.t...@gmx.com changed:
What|Removed |Added
Hardware|x86_64 |All
OS|Linux
https://issues.dlang.org/show_bug.cgi?id=13372
--- Comment #3 from b2.t...@gmx.com ---
Strangely enough this bug can lead to think that we can detect an eponymous
template:
==
template isTemplateInstance(alias T : Base!Args, alias Base, Args...)
{
enum isTemplateInstance = is(typeof(T
https://issues.dlang.org/show_bug.cgi?id=13372
Mike changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
|
https://issues.dlang.org/show_bug.cgi?id=13372
--- Comment #4 from Mike Franklin ---
(In reply to Basile B. from comment #2)
> =
> import std.meta;
>
> template Parent(T)
> {
> alias Parent = AliasSeq!(__traits(parent, T))[0];
> }
>
> unittest
> {
> class A(T){}
> static ass
https://issues.dlang.org/show_bug.cgi?id=13372
Iain Buclaw changed:
What|Removed |Added
Priority|P1 |P2
--