Initializer

init(uncheckedBounds:)

Creates an instance with the given bounds. 与えられた境界を使ってインスタンスを作成します。

Declaration 宣言

init(uncheckedBounds bounds: (lower: Bound, upper: Bound))

Parameters パラメータ

bounds

A tuple of the lower and upper bounds of the range. この範囲の下方および上方境界からなるタプル。

Discussion 解説

Because this initializer does not perform any checks, it should be used as an optimization only when you are absolutely certain that lower is less than or equal to upper. Using the half-open range operator (..<) to form Range instances is preferred. このイニシャライザは何ら確認を行わないので、それは、あなたがlowerupperより少ないか等しいことを絶対に確信している場合にのみ1つの最適化として使われるべきです。半開範囲演算子(..<)を使ってRangeインスタンスを形成することが推奨されます。

See Also 参照

Infrequently Used Functionality 滅多に使われない機能性