The supported C++ language standards to use for compiling C++ sources in the package.


enum CXXLanguageStandard : String, Encodable


Enumeration Cases

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.

Encoding and Decoding

func encode(to: Encoder)

Encodes this value into the given encoder, when the type’s RawValue is String.


func hash(into: inout Hasher)

Hashes the C++ language standard by feeding the item into the given hasher.

var hashValue: Int

The hash value for the C++ language standard.

Operator Functions

static func != (CXXLanguageStandard, CXXLanguageStandard) -> Bool

Returns a Boolean value indicating whether two values are not equal.

Instance Properties


Conforms To

See Also

Declaring Supported Languages

enum SwiftVersion

The version of the Swift language to use for compiling Swift sources in the package.

enum CLanguageStandard

The supported C language standard to use for compiling C sources in the package.

var swiftLanguageVersions: [SwiftVersion]?

The list of Swift versions that this package is compatible with.

var cLanguageStandard: CLanguageStandard?

The C language standard to use for all C targets in this package.

var cxxLanguageStandard: CXXLanguageStandard?

The C++ language standard to use for all C++ targets in this package.