[sv-bc] question about "type mismatch" in section 13 (mailboxes)

From: Francoise Martinolle <fm@cadence.com>
Date: Mon Feb 14 2005 - 11:05:07 PST

It is not clear in chapter 13 which describes mailboxes, to which category
of type compatibility
do the mailbox functions get(), try_get() and try_peek() refer to.
 
The description states that a runtime error msg occurs if there is a "type
mismatch" between the
message variable and the message in the mailbox.
 
I note that the variable is passed by reference and its data type is
described as "singular".
A singular data type is any data type except an unpacked structure, union or
array (by the
way it should also say classes).
 
Does the message variable need to have a matching type (5.9.1) with the type
of the message in the mailbox?
or does it need to have an equivalent type (5.9.2)?
It matters for packed structs, packed unions and packed arrays where the
rules are different.
 
Francoise
       '
 
 
 
 
Received on Mon Feb 14 11:05:12 2005

This archive was generated by hypermail 2.1.8 : Mon Feb 14 2005 - 11:06:06 PST