swift的类型描述符
发布时间:2020-12-14 04:58:36 所属栏目:百科 来源:网络整理
导读:Metatype Types A concrete or existential metatype in SIL must describe its representation. This can be: @thin,meaning that it requires no storage and thus necessarily represents an exact type (only allowed for concrete metatypes); @thick,m
Metatype Types A concrete or existential metatype in SIL must describe its representation. This can be:
? 用于类型和函数类型的描述 ? https://github.com/apple/swift/blob/master/docs/SIL.rst#metatype-types ? %2 = function_ref @ProtocolCase.NormalStruct.init() -> ProtocolCase.NormalStruct : [email?protected](method) (@thin NormalStruct.Type) -> NormalStruct // user: %3 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |