go top

转换构造函数

网络释义

  conversion constructor

conversion constructor转换构造函数): 可用单个实参调用的非 explicit 构造函数。隐式使用转换构造函数将实参的类型转换为类类型。

基于80个网页-相关网页

  conversion constructor function

转换构造函数(conversion constructor function) 的 转换构造函数 作用是将一个其他类型的数据转换成一个类的对象。 作用是将一个其他类型的数据转换成一个类的对象。

基于20个网页-相关网页

有道翻译

转换构造函数

Conversion constructor

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 构造函数读取配置参数文件作为属性这些属性转换URI/对,这些值对部署描述符模式定义的( 1) 。

    The constructor method reads the configuration parameters file as properties and converts these properties into URI/value pairs as defined by the deployment descriptor schema (Figure 1).

    youdao

  • 构造函数中的第一参数转换LiveGridhtmlid

    The first parameter in the constructor is the id of the HTML table that will be converted into a LiveGrid.

    youdao

  • 这个函数简单地元素标识符转换一个指针然后调用构造函数,将其他参数不加修改地传递构造函数

    The function simply converts the element identifier into a pointer and then calls the constructor, passing the remaining arguments unchanged.

    youdao

更多双语例句

百科

转换构造函数

在C++中,类的构造函数可以省略不写,这时C++会为它自动创建一个隐式默认构造函数(implicit default constructor);也可以由用户定义带参数的构造函数,构造函数也是一个成员函数,他可以被重载;当一个构造函数只有一个参数,而且该参数又不是本类的const引用时,这种构造函数称为转换构造函数。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

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

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