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

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

    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

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

    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

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

    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
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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