diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-04-25 17:07:28 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-04-25 17:07:28 +0900 |
| commit | b71a161aa9872f9e11c7f3b79876c13e65602c56 (patch) | |
| tree | d821145a6fca3ea5fba6d8243a821c394d034f14 /services/nuldoc/public/blog/posts | |
| parent | dacffe61cf2d739306178ab7cab6c3ca5cda9c66 (diff) | |
| download | nsfisis.dev-b71a161aa9872f9e11c7f3b79876c13e65602c56.tar.gz nsfisis.dev-b71a161aa9872f9e11c7f3b79876c13e65602c56.tar.zst nsfisis.dev-b71a161aa9872f9e11c7f3b79876c13e65602c56.zip | |
fix(blog): fix typo /posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/
Diffstat (limited to 'services/nuldoc/public/blog/posts')
2 files changed, 12 insertions, 10 deletions
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 @@ コンパイラのバージョン </p> <div class="codeblock"> - <pre class="highlight" style="background-color:#f5f5f5"><code><div class="codeblock-line">$ clang++ –version Apple clang version 11.0.0 -</div><div class="codeblock-line">(clang-1100.0.33.8) Target: x86_64-apple-darwin19.6.0 Thread model: -</div><div class="codeblock-line">posix InstalledDir: -</div><div class="codeblock-line">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</div></code></pre> + <pre class="highlight" style="background-color:#f5f5f5"><code><div class="codeblock-line">$ clang++ --version +</div><div class="codeblock-line">Apple clang version 11.0.0 (clang-1100.0.33.8) +</div><div class="codeblock-line">Target: x86_64-apple-darwin19.6.0 +</div><div class="codeblock-line">Thread model: posix +</div><div class="codeblock-line">InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</div></code></pre> </div> <p> コンパイルコマンド (C++17 指定) </p> <div class="codeblock"> - <pre class="highlight" style="background-color:#f5f5f5"><code><div class="codeblock-line">$ clang –std=c++17 hoge.cpp</div></code></pre> + <pre class="highlight" style="background-color:#f5f5f5"><code><div class="codeblock-line">$ clang --std=c++17 hoge.cpp</div></code></pre> </div> <p> この記事から得られるものはこれ以上ないので以下は蛇足になる。 |
