> > > >By the way, I just found the following example in 6.19.5.7: > > > >typedef enum { red, green, blue, yellow } Colors; > >Colors c = c.first; > > > >This indicates that the 'point of declaration' is before the > >initializing expression (as I would personally would expect). > > Or at least that the person writing the example thought so. Given that > the question has never been brought up and resolved in committee, I > don't think we can consider this example definitive. > > 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. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Fri Apr 25 16:26:27 2008
This archive was generated by hypermail 2.1.8 : Fri Apr 25 2008 - 16:27:01 PDT