aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2021-10-02/cpp-you-can-use-keywords-in-attributes/index.html
diff options
context:
space:
mode:
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>