Re: [sv-bc] Constant method calls

From: Steven Sharp <sharp_at_.....>
Date: Tue Feb 05 2008 - 10:06:44 PST
>From: Sarani Roy <sarani@cal.interrasystems.com>

>Since according to LRM "An enumerated type declares a set of integral 
>named constants."
>It is not clear to me why we cannot use atleast first() , last() and num()
>enum methods as constant function call.
>As pointed out by Gord all the normal rules regarding constant function 
>behavior would apply to
>to these function calls.

While I don't think that there is a technical problem with allowing these
to be constant functions, I agree with Brad Pierce that the current LRM
text does not allow them.

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 Tue Feb 5 10:07:16 2008

This archive was generated by hypermail 2.1.8 : Tue Feb 05 2008 - 10:07:47 PST