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 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'services/nuldoc/content/posts/2021-10-02') 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 ``` この記事から得られるものはこれ以上ないので以下は蛇足になる。 -- cgit v1.3-3-g829e