aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-17 01:56:28 +0900
committernsfisis <nsfisis@gmail.com>2023-03-17 01:56:28 +0900
commit77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2 (patch)
tree9df529139da165452ba2db2e33a28898a97dea4a /public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
parent0766039bd9e6b9f5e6334e84666f5be698d41fc3 (diff)
downloadblog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.tar.gz
blog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.tar.zst
blog.nsfisis.dev-77d1d07fbc1b8e27125d5d727e1551e9aeaac6c2.zip
fix(content): fix XML notations
Diffstat (limited to 'public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html')
-rw-r--r--public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html33
1 files changed, 8 insertions, 25 deletions
diff --git a/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html b/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
index 39ab3cd..98c9e3c 100644
--- a/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
+++ b/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
@@ -107,15 +107,10 @@ std::cout &lt;&lt; <span class="hljs-string">&quot;Hello, World!&quot;</span> &l
<blockquote>
<ul>
<li>
- <p>
- the identifiers that are keywords cannot be used for other purposes;
- </p>
-
+ the identifiers that are keywords cannot be used for other purposes;
<ul>
<li>
- <p>
- The only place they can be used as non-keywords is in an attribute-token. (e.g. [[private]] is a valid attribute) (since C++11)
- </p>
+ The only place they can be used as non-keywords is in an attribute-token. (e.g. [[private]] is a valid attribute) (since C++11)
</li>
</ul>
</li>
@@ -161,39 +156,27 @@ std::cout &lt;&lt; <span class="hljs-string">&quot;Hello, World!&quot;</span> &l
<ul>
<li>
- <p>
- <code>&lt;%</code>→<code>{</code>
- </p>
+ <code>&lt;%</code>→<code>{</code>
</li>
<li>
- <p>
- <code>%&gt;</code>→<code>}</code>
- </p>
+ <code>%&gt;</code>→<code>}</code>
</li>
<li>
- <p>
- <code>&lt;:</code>→<code>[</code>
- </p>
+ <code>&lt;:</code>→<code>[</code>
</li>
<li>
- <p>
- <code>:&gt;</code>→<code>]</code>
- </p>
+ <code>:&gt;</code>→<code>]</code>
</li>
<li>
- <p>
- <code>%:</code>→<code>#</code>
- </p>
+ <code>%:</code>→<code>#</code>
</li>
<li>
- <p>
- <code>%:%:</code>→<code>##</code>
- </p>
+ <code>%:%:</code>→<code>##</code>
</li>
</ul>