Avatar
omochimetaru 7/11/2024 2:51 AM
Hi all, Swift has #if to affect to allow different build configurations to impact what code is part of the final program. The conditions in #if are a simplified form of the Swift expression syntax, so you can have code like this: #if DEBUG #if compiler(>=5.7) && hasFeature(ParameterPacks) func f(_ args: repeat each Arg) { } #endif #else ...
2:51 AM
#if を評価するミニライブラリ