Agreed, thanks. Krishanu Rich, Dave wrote: > Krishanu, > > I think since no operator is defined for the void type, no expression or > assignment would be legal and a special syntactic restriction is not > needed. > > Dave > > >> -----Original Message----- >> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of >> Krishanu Debnath >> Sent: Monday, March 20, 2006 11:23 PM >> To: sv-bc@eda.org >> Subject: [sv-bc] void function >> >> Hello, >> >> For void functions, using function name in expressions or on the left > side >> of an >> assignment make no sense. Does standard forbid this? Does standard > mention >> anywhere that such sort of 'syntax' requires diagnostics(compile/run >> time)? >> >> >> Krishanu >> >>Received on Tue Mar 21 01:05:47 2006
This archive was generated by hypermail 2.1.8 : Tue Mar 21 2006 - 01:05:57 PST