[Issue 1778] New: Can not create pointer to class reference

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 10 04:47:59 PST 2008


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

           Summary: Can not create pointer to class reference
           Product: D
           Version: 1.026
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: aarti at interia.pl


Below doesn't compile:
----
A* cp = new A*;
----
Type of new A* is (A**) while it should be A*.

Reference:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=10683


-- 



More information about the Digitalmars-d-bugs mailing list