-
Key: IDL4CPP-40
-
Status: closed
-
Source: Remedy IT ( Johnny Willemsen)
-
Summary:
The valuetype VT2 is defined in IDL, but the example C++ code is not correct, it says
class VT2 : public virtual VT1 { public: virtual void op() = 0; virtual int32_t third_long() const = 0; virtual int32_t& third_long() const = 0; virtual void third_long(int16_t value) = 0; };
But it should be
class VT2 : public virtual VT1 { public: virtual void op() = 0; virtual int32_t third_long() const = 0; virtual int32_t& third_long() = 0; virtual void third_long(int32_t value) = 0; };
-
Reported: IDL4-CPP 1.0b1 — Thu, 25 Jan 2024 12:27 GMT
-
Disposition: Resolved — IDL4-CPP 1.0b2
-
Disposition Summary:
Fix mapping of VT2 in Clause 7.6 "Value Types"
Clause 7.6 "Value Types" contains a typo in the mapping of a long, this issue fixed the typo mapping the IDL long to int32_t instead of int16_t.
-
Updated: Mon, 16 Sep 2024 14:15 GMT
IDL4CPP — Example VT2 not correct
- Key: IDL4CPP-40
- OMG Task Force: IDL4 to C++ Language Mapping (IDL4-CPP) 1.0 FTF