[Issue 8969] New: is(T == __parameters) is undocumented
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 6 10:20:55 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8969
Summary: is(T == __parameters) is undocumented
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-11-06 10:20:54 PST ---
std.traits ParameterIdentifierTuple and ParameterDefaultValueTuple use this
trick to extract the parameters:
static if (is(typeof(func) PT == __parameters))
{
}
This __parameters feature is not documented.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list