---
title: CXXLanguageStandard
framework: packagedescription
role: symbol
role_heading: Enumeration
path: packagedescription/cxxlanguagestandard
---

# CXXLanguageStandard

The supported C++ language standard you use to compile C++ sources in the package.

## Declaration

```swift
enum CXXLanguageStandard
```

## Overview

Overview Aliases are available for some C++ language standards. For example, use cxx98 or cxx03 for the “ISO C++ 1998 with amendments” standard. To learn more, see C++ Support in Clang.

## Topics

### Enumeration Cases

- [CXXLanguageStandard.cxx03](packagedescription/cxxlanguagestandard/cxx03.md)
- [CXXLanguageStandard.cxx11](packagedescription/cxxlanguagestandard/cxx11.md)
- [CXXLanguageStandard.cxx14](packagedescription/cxxlanguagestandard/cxx14.md)
- [CXXLanguageStandard.cxx1z](packagedescription/cxxlanguagestandard/cxx1z.md)
- [CXXLanguageStandard.cxx98](packagedescription/cxxlanguagestandard/cxx98.md)
- [CXXLanguageStandard.gnucxx03](packagedescription/cxxlanguagestandard/gnucxx03.md)
- [CXXLanguageStandard.gnucxx11](packagedescription/cxxlanguagestandard/gnucxx11.md)
- [CXXLanguageStandard.gnucxx14](packagedescription/cxxlanguagestandard/gnucxx14.md)
- [CXXLanguageStandard.gnucxx1z](packagedescription/cxxlanguagestandard/gnucxx1z.md)
- [CXXLanguageStandard.gnucxx98](packagedescription/cxxlanguagestandard/gnucxx98.md)
- [CXXLanguageStandard.cxx17](packagedescription/cxxlanguagestandard/cxx17.md)
- [CXXLanguageStandard.cxx20](packagedescription/cxxlanguagestandard/cxx20.md)
- [CXXLanguageStandard.cxx2b](packagedescription/cxxlanguagestandard/cxx2b.md)
- [CXXLanguageStandard.gnucxx17](packagedescription/cxxlanguagestandard/gnucxx17.md)
- [CXXLanguageStandard.gnucxx20](packagedescription/cxxlanguagestandard/gnucxx20.md)
- [CXXLanguageStandard.gnucxx2b](packagedescription/cxxlanguagestandard/gnucxx2b.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)

## See Also

### Declaring Supported Languages

- [SwiftLanguageMode](packagedescription/swiftlanguagemode.md)
- [CLanguageStandard](packagedescription/clanguagestandard.md)
- [swiftLanguageModes](packagedescription/package/swiftlanguagemodes.md)
- [cLanguageStandard](packagedescription/package/clanguagestandard.md)
- [cxxLanguageStandard](packagedescription/package/cxxlanguagestandard.md)
- [SwiftVersion](packagedescription/swiftversion.md)
- [swiftLanguageVersions](packagedescription/package/swiftlanguageversions.md)
