The supported C++ language standards to use for compiling C++ sources in the package.
SDK
- Xcode 10.2+
Framework
- Swift Package Manager
The supported C++ language standards to use for compiling C++ sources in the package.
SDK
Framework
case cxx03
The identifier for the C++03 language standard.
case cxx11
The identifier for the C++11 language standard.
case cxx14
The identifier for the C++14 language standard.
case cxx1z
The identifier for the C++1z language standard.
case cxx98
The identifier for the C++98 language standard.
case gnucxx03
The identifier for the GNU++03 language standard.
case gnucxx11
The identifier for the GNU++11 language standard.
case gnucxx14
The identifier for the GNU++14 language standard.
case gnucxx1z
The identifier for the GNU++1z language standard.
case gnucxx98
The identifier for the GNU++98 language standard.
func encode(to: Encoder)
Encodes this value into the given encoder, when the type’s Raw
is String
.
func hash(into: inout Hasher)
Hashes the C++ language standard by feeding the item into the given hasher.
var hash Value: Int
The hash value for the C++ language standard.
static func != (CXXLanguage Standard, CXXLanguage Standard) -> Bool
Returns a Boolean value indicating whether two values are not equal.
enum Swift Version
The version of the Swift language to use for compiling Swift sources in the package.
enum CLanguage Standard
The supported C language standard to use for compiling C sources in the package.
var swift Language Versions: [Swift Version]?
The list of Swift versions that this package is compatible with.
var c Language Standard: CLanguage Standard?
The C language standard to use for all C targets in this package.
var cxx Language Standard: CXXLanguage Standard?
The C++ language standard to use for all C++ targets in this package.