A UML operation op with, an int as the return type.
一个UML操作,并且以一个int作为返回值类型。
Create a UML class class1 and add an operation op with return type int to it.
创建一个uml类class1,并且向其添加一个操作op,其返回值类型为int。
The generated code for the template class one has both the declaration and definition for the operation op within the template class declaration, as shown in Listing 7.
为模板类一所生成的代码具有在模板类声明内部用于操作的声明和定义,如列表7中所示。
应用推荐