• Of initializer lists and type narrowing

    初始化器列表类型窄化(type narrowing

    youdao

  • Before moving on to initializer list examples and typical usage, let's look at what is meant by type narrowing.

    研究初始化器列表示例典型用法之前讨论一下什么类型窄化

    youdao

  • Note that int y(2.3) is allowed in C++0x; no type narrowing is assumed, and y equals 2 while int y{2.3} is plain error.

    注意 C++0x允许inty(2.3);由于不允许类型窄化,y等于2 int y{2.3}的。

    youdao

  • It's okay to use initializer lists to initialize scalar variables, and the usual rule of type narrowing applies in such cases.

    可以使用初始化器列表标量变量进行初始化,这种情况下应用一般类型窄化规则

    youdao

  • Narrowing search results by source and type of media also has great implications for individual productivity.

    通过媒体来源类型缩小搜索范围可以大大提高个人工作效率

    youdao

  • The args clause binds to argument (s) in methods being matched, implicitly narrowing to methods that have a first argument of type String.

    args子句绑定匹配方法中的参数缩小范围具有第一个参数类型String方法。

    youdao

  • By selecting your preferences from a robust list of options such as location, price, star rating, car type, route, etc, you're narrowing down the inventory.

    通过一个强大列表地点价格星级车型路线等等中选择自己偏好,用户可以缩小库存的范围。

    youdao

  • The Explorer pane provides filters for narrowing your search results by attributes such as length, screen type, resolution, and source.

    浏览窗格根据大小、屏幕类型分辨率及来源属性提供了过滤功能缩小结果范围。

    youdao

  • This would only happen if the value were a "narrowing conversion," where a value exceeded the possible range value allowed in the new type, such as trying to convert from long to int, for example.

    只有转换范围更小的类型” 时,即这个值超出了类型允许范围,例如试图long 类型转换int 类型,才发生这样的情况。

    youdao

  • Type conversions may either be widening or narrowing: widening conversions never overflow and always succeed, whereas narrowing conversions entail the possible loss of information and may fail.

    转换可以扩展缩小」:扩展转换从不会溢位而且一定成功但是缩小转换却可能造成资讯遗失,甚至失败

    youdao

  • Again, you must be aware of the effect of a narrowing conversion when casting to a smaller type, otherwise you might unknowingly lose information during the cast.

    同样地造型成一种较小类型时,必须留意缩小转换后果。否则在造型过程中不知不觉丢失信息

    youdao

  • If you relax the type-conversion rule, the compiler operates under permissive type semantics, which allows you to make narrowing conversions without conversion keywords.

    如果放宽类型转换规则,则编译器将在“许可类型语义”操作语义允许使用转换关键字的情况下进行收缩转换。

    youdao

  • The central type was most common seen (71.43%), which often accompanied with narrowing of vertebral canal and lateral recess.

    常见突出类型中央型(71.43%),多伴有先天发育椎管隐窝狭窄。

    youdao

  • The common methods for knitting the V type necks on the common flat knitting machine include narrowing, press-off, combination of narrowing point and narrowing, comb drop narrowing, and so on.

    普通横机上编织毛衫V形领圈常见方法收针法、拷针法、套针收针结合法收针法等。

    youdao

  • A conversion of one array type to another is widening or narrowing depending on whether the conversion of the respective elements is widening or narrowing.

    数组类型另一种数组类型转换扩展转换还是双字节到单字节转换,取决于各自元素的转换是扩展转换还是双字节到单字节转换。

    youdao

  • A procedure is called with an argument that widens to the corresponding parameter type, and the conversion from the parameter to the argument is narrowing.

    调用过程时使用扩大对应参数类型变量参数到变量转换缩小转换。

    youdao

  • A procedure is called with an argument that widens to the corresponding parameter type, and the conversion from the parameter to the argument is narrowing.

    调用过程时使用扩大对应参数类型变量参数到变量转换缩小转换。

    youdao

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

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

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