|
|
|
|
Re: Deleted assignment operator overloading getting overwritten/changed (C++)? [message #1853223 is a reply to message #1852940] |
Thu, 23 June 2022 07:57   |
Eclipse User |
|
|
|
Dear Manuel,
I can (mostly) reproduce the issue. There are multiple elements
1. A behavior can only be assigned to at most one operation, otherwise its specification reference would be non deterministic. Therefore, the UML2 plugin removes a method from an existing operation, if you add it to another. This is correct.
2. When a class has an owned behavior without specification, the C++ generator emits the information "// opaque behavior without specification" prior to a C++ method declaration that uses the name and parameters of the opaque behavior instead of an associated operation. However, in my case, I get the original code instead of an empty one. It can be discussed whether the generator should ignore a behavior without specification. Anyway, the behavior of the generator in this case needs to be documented which is currently not the case.
3. The synchronization mechanism does not establish the link between an operation and a method of the same name, if the link does not already exist. In can be discussed as well, whether the synchronization mechanism should do that automatically.
Ansgar
[Updated on: Thu, 23 June 2022 09:11] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.08936 seconds