Avatar
static subscript って作れないのか。 @swift-4.2.4 struct S { static subscript(i: Int) -> Int { return i + 1 } }