http://d.puremagic.com/issues/show_bug.cgi?id=5300

           Summary: What type suffixes apply to with single argument
                    template instances is undefined.
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nob...@puremagic.com
        ReportedBy: blood.of.l...@gmail.com


--- Comment #0 from Bernard Helyer <blood.of.l...@gmail.com> 2010-12-01 
05:45:49 PST ---
struct Foo(T)
{
     T i;
}

void main()
{
    Foo!int* foo;  // Is this a Foo!(int*), or a Foo!(int)*?
}

The above behaviour is undefined by the documentation. Testing with DMD reveals
that the latter behaviour indicated by the comment is correct.

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

Reply via email to