D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1673 - Implement the isTemplate trait
Summary: Implement the isTemplate trait
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 enhancement
Assignee: Andrej Mitrovic
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2007-11-15 12:51 UTC by Andrei Alexandrescu
Modified: 2020-11-17 13:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Andrei Alexandrescu 2007-11-15 12:51:20 UTC
When an alias is passed inside a template, is(symbol == template) should work to test whether the symbol is a template.
Comment 1 Andrej Mitrovic 2012-12-23 11:21:28 UTC
https://github.com/D-Programming-Language/dmd/pull/1239
Comment 2 Andrej Mitrovic 2014-03-14 08:20:05 UTC
https://github.com/D-Programming-Language/dmd/pull/3380
Comment 3 github-bugzilla 2014-08-08 20:31:41 UTC
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 Dlang Bot 2020-11-17 13:40:22 UTC
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