-
Key: CPP13-36
-
Legacy Issue Number: 3359
-
Status: open
-
Source: Floorboard Software ( Jonathan Biggar)
-
Summary:
The CORBA 2.3 C++ specification, section 1.22 states that valuetypes
passed as in parameters to an invocation of an object are copied, even
if the object is collocated with the caller. It does not make this
statement for inout or out parameters (or return results), which
strongly suggests that valuetype copying is not necessary. In fact, the
text for valuetype inout parameters strongly suggests that copying is
not performed.I think this is wrong and inout & out valuetypes should be copied as
well (inout parameters should be copied before and after the invocation,
while out and return values should be copied after the invocation
completes.) Without the copies, call transparency will be broken and
the client can distinguish between a local and a remote call. -
Reported: CPP 1.1 — Thu, 24 Feb 2000 05:00 GMT
-
Updated: Fri, 6 Mar 2015 20:57 GMT
CPP13 — Issue with valuetypes & inout/out parameters
- Key: CPP13-36
- OMG Task Force: C++ June 2011 RTF