aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/nuldoc/content
diff options
context:
space:
mode:
Diffstat (limited to 'services/nuldoc/content')
-rw-r--r--services/nuldoc/content/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md11
1 files changed, 6 insertions, 5 deletions
diff --git a/services/nuldoc/content/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md b/services/nuldoc/content/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md
index fb8c8798..c9bf02ae 100644
--- a/services/nuldoc/content/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md
+++ b/services/nuldoc/content/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md
@@ -43,16 +43,17 @@ int main() {
コンパイラのバージョン
```
-$ clang++ –version Apple clang version 11.0.0
-(clang-1100.0.33.8) Target: x86_64-apple-darwin19.6.0 Thread model:
-posix InstalledDir:
-/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
+$ clang++ --version
+Apple clang version 11.0.0 (clang-1100.0.33.8)
+Target: x86_64-apple-darwin19.6.0
+Thread model: posix
+InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
```
コンパイルコマンド (C++17 指定)
```
-$ clang –std=c++17 hoge.cpp
+$ clang --std=c++17 hoge.cpp
```
この記事から得られるものはこれ以上ないので以下は蛇足になる。