-
Key: IDL4CPP11-25
-
Status: open
-
Source: Remedy IT ( Johnny Willemsen)
-
Summary:
The example has the following operations for a_long (same issue happens with the others)
void a_long(int32_t value)
{...}
int32_t& a_long() {...}int32_t a_long() const
{...}a_long is a basic type, so according to the text it should have:
<MemberType> <MemberName>()
<MemberType> <MemberName>() const;Both return by value, but the example has one returning by reference.
Also the setter for a_struct doesn't match the text, seems this chapter needs some review and tweaks
-
Reported: IDL4-CPP 1.0b2 — Mon, 28 Oct 2024 13:21 GMT
-
Updated: Mon, 28 Oct 2024 14:57 GMT
IDL4CPP11 — Example not matching text
- Key: IDL4CPP11-25
- OMG Task Force: IDL4 to C++ Language Mapping (IDL4-CPP) 1.1 RTF