Are built-in intrinsic functions available in Swift 3?

喜欢而已 提交于 2019-12-07 11:19:40

问题


I can see various built-in functions (like __builtin_popount, __builtin_clz, etc) in the Xcode auto-completion pop-up. I'm not sure where these are getting picked up from though. Command clicking doesn't lead to a swift definition or any documentation. Are any __builtin_* or equivalent intrinsic functions available in Swift 3 and if so, what modules do I need to include and how can I call them?

来源:https://stackoverflow.com/questions/41353482/are-built-in-intrinsic-functions-available-in-swift-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!