Bug 1673 – Implement the isTemplate trait

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2007-11-15T12:51:20Z
Last change time
2020-11-17T13:40:22Z
Keywords
pull
Assigned to
Andrej Mitrovic
Creator
Andrei Alexandrescu

Comments

Comment #0 by andrei — 2007-11-15T12:51:20Z
When an alias is passed inside a template, is(symbol == template) should work to test whether the symbol is a template.
Comment #1 by andrej.mitrovich — 2012-12-23T11:21:28Z
Comment #2 by andrej.mitrovich — 2014-03-14T08:20:05Z
Comment #3 by github-bugzilla — 2014-08-08T20:31:41Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8bebbe4845b8a5f5ebaa87f52b2c9a0a42c3a46e Fixes Issue 1673 - Implement the isTemplate trait. https://github.com/D-Programming-Language/dmd/commit/c5b285d59edbab3e5ada6aefff8de40c4a399fb1 Merge pull request #3380 from AndrejMitrovic/isTemplate Issue 1673 - Implement the isTemplate trait.
Comment #4 by dlang-bot — 2020-11-17T13:40:22Z
dlang/dub pull request #2034 "Correct issue #1673 (with dupe #1797 and #2019)" was merged into master: - 4e2dd8530dac9a209e6beeac0e0f789e09b7eaf8 by Guillaume Piolat: Correct issue #1673 (with dupe #1797 and #2019) https://github.com/dlang/dub/pull/2034