mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
184 B
Swift
11 lines
184 B
Swift
public struct G<T: Sendable> {
|
|
}
|
|
|
|
public func makeG<T: Sendable>(_: T.Type) -> G<T> {
|
|
return G<T>()
|
|
}
|
|
|
|
@_transparent public func makeVoidG() -> G<Void> {
|
|
return makeG(Void.self)
|
|
}
|