As discussed in the last meeting, Mantis 2608 correctly observes that "parameter" and "localparam" are not addressed by the LRM in terms of their existence in classes. In addition, typedef declarations in classes are, I believe, assumed to be implicitly static members although there is no discussion of that. Certainly 8.24.1 and 6.18 assume that class parameters and typedefs are static members that are accessible via the class scope resolution operator. 8.24.1 explicitly uses examples and 6.18 explicitly address type reference via class scope resolution in the context of forward typedefs. So I think there is clear evidence that the intent is for parameters, localparams, and typedefs to be equivalent to static members in terms of the name referencing rules. Given the discussion in the last meeting, it isn't obvious how to cleanly address this question without opening up several places in the LRM that discuss kinds of class members. Given the evidence in 8.24.1 and 6.18, I think that I would be willing to defer this clarification until the next PAR. Gord. -- -------------------------------------------------------------------- Gordon Vreugdenhil 503-685-0808 Model Technology (Mentor Graphics) gordonv@model.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Fri Apr 24 10:30:54 2009
This archive was generated by hypermail 2.1.8 : Fri Apr 24 2009 - 10:31:30 PDT