Strange cosmetic issue in generated C++

5 views
Skip to first unread message

Finn Hackett

unread,
Sep 13, 2017, 7:34:10 PM9/13/17
to umpl...@googlegroups.com
Hi all,

I'm Finn, one of the new UCOSP students.

When I was playing around with UmpleOnline I had a look through the
generated C++ code and noticed something weird.

If you try to compile any model, in my case:

> class Foo{}

The generated code contains this:

> friend bool operator == (Foo& Right, Foo& Left);
Shouldn't it be this instead?

> friend bool operator == (Foo& Left, Foo& Right);

This is just a cosmetic issue; the code makes sense otherwise. Does
anyone know why this is? Is this intended?

Thank you in advance for any thoughts or comments,

-Finn

Reply all
Reply to author
Forward
0 new messages