Issue 3225: C++ ValueBox & Fixed question (cxx_revision) Source: Floorboard Software (Mr. Jonathan Biggar, jon(at)floorboard.com) Nature: Uncategorized Issue Severity: Summary: Section 1.17.7.5 states: "Value boxes for these types [including Fixed] map to classes that have exactly the same public interfaces as the underlying boxed types...". Does this also include overloaded operators that are defined in the Fixed class? It sure seems weird to allow some operators to work but not others: // IDL valuetype FixedVal fixed<5,2>; // C++ FixedVal *fv = ...; ++fv; // legal? CORBA::Fixed f = fv * 2; // illegal? Resolution: Revised Text: Actions taken: January 15, 2000: received issue Discussion: deferred in June 2011 to the next RTF End of Annotations:===== Sender: jon@corvette.floorboard.com Message-ID: <38814CE6.8536B7A0@floorboard.com> Date: Sat, 15 Jan 2000 20:45:26 -0800 From: Jonathan Biggar X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.5.1 sun4m) X-Accept-Language: en MIME-Version: 1.0 To: issues@omg.org, cxx_revision@omg.org Subject: C++ ValueBox & Fixed question Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: EFg!!,9F!!1*fd9,!Wd9 Section 1.17.7.5 states: "Value boxes for these types [including Fixed] map to classes that have exactly the same public interfaces as the underlying boxed types...". Does this also include overloaded operators that are defined in the Fixed class? It sure seems weird to allow some operators to work but not others: // IDL valuetype FixedVal fixed<5,2>; // C++ FixedVal *fv = ...; ++fv; // legal? CORBA::Fixed f = fv * 2; // illegal? -- Jon Biggar Floorboard Software jon@floorboard.com jon@biggar.org