>From: "Brad Pierce" <Brad.Pierce@synopsys.com> > >According to 13.5.5, the parentheses in a call to a nonvoid function >'funct' cannot not be omitted, hence "funct.next" must refer to the >static variable "top.funct.next", which is initialized to "C" at time 0. What if we move this code to the inside of a class, so that funct becomes a method (and declare the local variable 'next' to be explicitly static)? According to 13.5.5, the parentheses can be omitted from a method function call. 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 17:38:39 2008
This archive was generated by hypermail 2.1.8 : Fri Apr 25 2008 - 17:40:35 PDT