查询
1 词典释义:
initializer
时间: 2025-05-02 22:29:16

初始化程序

双语例句
  • Using auto with initializer list.

    对初始化器列表使用auto。

  • Of initializer lists and type narrowing

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

  • Initializer lists in new expressions.

    可以在new表达式中使用初始化器列表。

  • Listing 2 shows a typical static initializer.

    清单2显示了典型的静态初始化器。

  • This is an example of an instance initializer.

    这是一个关于实例初始值设定项的示例。

  • Initializer lists in variable definitions.

    可以在变量定义中使用初始化器列表。

  • The list defined using -that's an initializer list.

    这个列表是使用定义的,它是初始化器列表。

  • A type will gain a type initializer in two scenarios.

    类型在两种情况下会获取类型初始值设定项。

  • Listing 12 shows how you traverse an initializer list.

    清单12说明如何访问初始化器列表。

  • In an initializer block, which executes just before the constructor.

    在一个初始化块中,仅在构造函数之前执行。

  • Such a representation is also called an object initializer in Rhino.

    这种表示在Rhino中也称为对象初始化。

  • Provide a GBeanInfo static initializer that describes the constructor.

    提供描述构造函数的gbeaninfo静态初始化器。

  • In a static initializer block, which executes when the class is loaded.

    在一个静态初始化块中,在加载类时执行。

  • Welcome to the new auto syntax: type deduction from initializer expressions.

    新的auto语法:根据初始化器(initializer)表达式推导类型。

  • The same rules hold true if the exception is thrown from a static field initializer.

    如果异常是从静态字段初始值设定项引发的,也存在同样的规则。

  • Preferences, the preference page, its initializer, and how to obey managed Settings.

    首选项、首选项页面、初始化程序以及如何遵从管理设置?

  • In the case of PHP, the arguments to this object initializer are path, host and port.

    就php来说,这个对象初始化器的参数是path、host和port。

  • We use the EmbeddedDriver for our driver class in the static initializer of the class.

    我们将在类的静态初始化器中把 EmbeddedDriver 用于驱动程序类。

  • Given this kind of semantics, using initializer lists should be preferred whenever possible.

    由于采用这种语义,应该尽可能使用初始化器列表。

  • If a _metaclass_ hook is defined after the class initializer, it silently overrides it.

    如果_ metaclass _钩子在类初始化器之后定义,它会静静地覆盖类初始化器。

  • To instantiate the object within the shared memory, define an additional class, Initializer.

    要对共享内存中的对象进行实例化,请定义另外一个类 Initializer。

  • If a variable is initialized with an empty initializer list, the object is value initialized.

    如果用空的初始化器列表对变量进行初始化,对象为初始化值。

  • Initializer defines Shared memory id m_shmid and a semaphore ms_mutex for synchronous event handling.

    Initializer定义了共享内存的id m_shmid和一个用来处理同步事件的信号量ms _ mutex。

  • When it discovers a loop, it displays three expressions: the initializer, condition, and iteration.

    当它发现一个循环时,会显示三种表达式:初始程序、条件及迭代。

  • As you saw earlier, the code for a static field initializer executes inside an implicit type constructor.

    正如您在前面看到的那样,静态字段初始值设定项的代码在隐式类型构造函数的内部执行。

  • The metaclass will create the class (as a new style one) and will pass it to the class initializer procedure.

    元类将创建此类(作为一个新式类)并将其传递给类初始化器过程。

  • The static initializer runs first, as the class is loaded, followed by the main method (which is also static).

    加载类之后,静态初始化器首先运行,紧接着运行的是 main 方法(也是静态的)。

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

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

  • Whenever a particular type is required, the initializer for that type is transparently lifted into the type itself.

    每当需要一个特殊类型时,该类型的初始化器就很明显地被提升成类型本身。

  • As with a normal aggregate initializer, missing values are treated as though they'd been given 0 as an initializer.

    使用普通的聚合初始化程序时,缺少的值会被认为它们已经被初始化程序指定为0来处理。