• 托管类型不允许有友元。

    Managed types do not allow friends.

    youdao

  • 若要修复此错误,请不要在托管类型内声明友元。

    To fix this error, do not declare friends inside managed types.

    youdao

  • 要求:分别用成员函数和友元函数来求圆的面积和周长。

    Requirements: member function respectively, and a friend function to find area and circumference of a circle.

    youdao

  • 友元函数用来访问类的非公有成员。友元函数不是类的成员函数。

    A friend function is used for accessing the non-public members of a class.

    youdao

  • Serializable Person类定义了一个它自己的友元,如清单1所示。

    Consider a Serializable Person class that defines a friend of its own, as shown in Listing 1.

    youdao

  • 为了访问一个用户定义的类里的私有数据,你必须声明全局函数为友元函数,并且在类中定义。

    But to be able to reach any private data within a user defined class you have to declare the global function as a friend within the definition of the class.

    youdao

  • 名为spacefriend的友元函数,它是space类的友元,它的参数是类对象,输出类对象的x变量的值。

    A friend function named spacefriend, which is a friend of class space, and which takes the class object as an argument and prints the value of its variable x.

    youdao

  • 根据脚本,复杂类型Person必须有一个xsd:string类型名字的直接子元素,和一个Person类型的友元,并且不能有其它类型和属性。

    According to the schema, the Person complex type must have the direct child elements name of XSD: string type and friend of Person type, and should not have any other types and attributes.

    youdao

  • C#中的友元程序集(friendassembly)和非严格委托(relaxeddelegate)概念都保留了下来,不过curry委托则被推迟到下一个版本中。

    The C# concept of friend assemblies made it in, as well as relaxed delegates. The ability to curry delegates has been pushed off to a later release.

    youdao

  • 应用有限元强度折减法,分析了南友路膨胀土滑坡规律,以及柔性支挡的处治效果。

    The shear strength reduction method with FEM is applied to analyze the rule of Nanyou Road dilative soil landslide and the treating effect of flexible shoring.

    youdao

  • 应用有限元强度折减法,分析了南友路膨胀土滑坡规律,以及柔性支挡的处治效果。

    The shear strength reduction method with FEM is applied to analyze the rule of Nanyou Road dilative soil landslide and the treating effect of flexible shoring.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定