A UML operation representing a constructor is given the same name as its parent class or structure name.
表示构造方法的UML操作有和其母体类或结构名相同的名字。
2
To generate a C++ friend function that is a friend of aclass, you need to create a UML operation within a UML Class and apply the cpp_operation stereotype on the UML operation.