-
Key: CPP11-123
-
Legacy Issue Number: 5450
-
Status: closed
-
Source: Boeing Australia ( Bruce McIntosh)
-
Summary:
Name: Bruce McIntosh
Company: Boeing Australia
mailFrom: bruce.mcintosh@boeing.com
Notification: Yes
Specification: C++ Language Mapping
Section: 1.36.2
FormalNumber: ptc/01-06-07
Version: Proposed Available Revision
RevisionDate: 01/26/2002
Page: 1-136
The example given has a couple of small typographical problems: (1) the function signature specifies a void return type, but returns a Foo* (2) the function returns "foo_servant->this;" which I think should be "return foo_servant->_this();"Perhaps the example should read:
Foo* some_function (/.../)
{ Servant_var<Foo_impl> foo_servant = new Foo_impl; foo_servant->do_something(); // might throw... some_poa->activate_object_with_id(...); return foo_servant->_this(); } -
Reported: CPP 1.0 — Sun, 30 Jun 2002 04:00 GMT
-
Disposition: Resolved — CPP 1.1
-
Disposition Summary:
Updated the example code as suggested
-
Updated: Fri, 6 Mar 2015 20:58 GMT