From b71a161aa9872f9e11c7f3b79876c13e65602c56 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 25 Apr 2026 17:07:28 +0900 Subject: fix(blog): fix typo /posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/ --- .../cpp-you-can-use-keywords-in-attributes/index.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html') diff --git a/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html b/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html index 01221534..8cf8c34b 100644 --- a/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html +++ b/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html @@ -96,16 +96,17 @@ コンパイラのバージョン

-
$ 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

この記事から得られるものはこれ以上ないので以下は蛇足になる。 -- cgit v1.3-3-g829e