>From: "Rich, Dave" <Dave_Rich@mentor.com> >> It does point out a situation where the self-reference actually has a >> useful purpose. >[DR] Then why not allow > >Colors c = Colors.first; > >instead, which avoids the circular reference issue. If that were allowed, then I don't know of any other situations where the self-reference is useful. I would then be more strongly inclined to say that the declared name is not visible until after the full declaration, including the initializer. Steven Sharp sharp@cadence.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Fri Apr 25 16:33:21 2008
This archive was generated by hypermail 2.1.8 : Fri Apr 25 2008 - 16:33:36 PDT