Re: [sv-bc] Function call without parenthesis

From: Paul Graham <pgraham_at_.....>
Date: Wed Dec 14 2005 - 10:13:49 PST
> Welcome to the wonderful world of object oriented programming. You
> should be glad SystemVerilog didn't put in all of C++.

Too bad.  I notice that C++ doesn't follow the UAP for
function calls of no arguments.  In fact, requiring parens
makes it possible to define operator().  Try doing that in
Ada!

As a technical issue, I'd like to suggest that () be
required on a function or method call of no args, except in
the case of a system function or task.

Paul
Received on Wed Dec 14 10:13:51 2005

This archive was generated by hypermail 2.1.8 : Wed Dec 14 2005 - 10:13:54 PST