I do not know for sure if that is what the article refers to, but you can define a function-local struct with a static property:
func f () {
struct S {
static var u: Int = 7
}
}
See also:
I do not know for sure if that is what the article refers to, but you can define a function-local struct with a static property:
func f () {
struct S {
static var u: Int = 7
}
}
See also: