Skip to content

Commit

Permalink
Clang : c++23オプションを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
faithandbrave committed Sep 29, 2023
1 parent 92b8e34 commit ef3c242
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions implementation.md
Expand Up @@ -46,9 +46,12 @@
### C++23の機能を有効にする
- Clang 12.0以降は、`-std=c++2b`オプションを使用する。
- GNU拡張を有効にする`-std=gnu++2b`オプションもある。
- Clang 17.0以降は、`-std=c++23`オプションを使用する(以前までのオプションも使用できる)。
- GNU拡張を有効にする`-std=gnu++23`オプションもある。

### C++26の機能を有効にする
- Clang 17.0以降は、`-std=c++2c`オプションを使用する。
- GNU拡張を有効にする`-std=gnu++2c`オプションもある。


## <a id="gcc" href="#gcc">GNU Compiler Collection</a>
Expand Down

0 comments on commit ef3c242

Please sign in to comment.