www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8969] New: is(T == __parameters) is undocumented

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



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: -------
Nov 06 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8969




Commits pushed to master at
https://github.com/D-Programming-Language/d-programming-language.org

https://github.com/D-Programming-Language/d-programming-language.org/commit/bb80d6e14fca7bc56f8dd9cb2d8ddb6409ba5b48
Fixes Issue 8969 - Document __parameters in is expression.

https://github.com/D-Programming-Language/d-programming-language.org/commit/3b88b9517a823b9df15a8ad9ad8b1a90f054ed0a


Fix Issue 8969 - Document __parameters in 'is' expression.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 06 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8969


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



17:51:40 PST ---
Fixed in 2.061 release.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 11 2013