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/ --- .../2021-10-02/cpp-you-can-use-keywords-in-attributes.md | 11 ++++++----- .../cpp-you-can-use-keywords-in-attributes/index.html | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'services/nuldoc/public/blog/posts') diff --git a/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md b/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md index fb8c8798..c9bf02ae 100644 --- a/services/nuldoc/public/blog/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes.md +++ b/services/nuldoc/public/blog/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 ``` この記事から得られるものはこれ以上ないので以下は蛇足になる。 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