sc_event_or_list const &

From: <john.aynsley@doulos.com>
Date: Tue Jan 11 2011 - 05:43:02 PST

All,

Alan writes:
p60
There are a whole lot of functions declared in a different style e.g.

   void next_trigger(const sc_time&, sc_event_or_list const &);

I think this is inconsistent. Either the whole standard should be changed
to that style e.g.

   void next_trigger(sc_time const &, sc_event_or_list const &);

or (easier!)

these functions should be written in the old-fashioned
   void next_trigger(const sc_time&, const sc_event_or_list &);

Otherwise it will just confuse people.
Same on p72ff section 6.2.17
Same in section 6.2.18
Same in section 6.9.2, 6.9.4
Same in section 6.15.2

[JA] I agree. I was lazy and simply copied the function declarations from
Philipp's prototype, but as things stand the LRM is no longer
self-consistent.

Opinions?

John A

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Tue Jan 11 05:43:20 2011

This archive was generated by hypermail 2.1.8 : Tue Jan 11 2011 - 05:43:22 PST