<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Constexpr on ykiko&#39;s blog</title>
    <link>https://www.ykiko.me/en/series/constexpr/</link>
    <description>Recent content in Constexpr on ykiko&#39;s blog</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Wed, 18 Dec 2024 03:21:51 +0000</lastBuildDate>
    <atom:link href="https://www.ykiko.me/en/series/constexpr/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The History of constexpr in C&#43;&#43;! (Part Two)</title>
      <link>https://www.ykiko.me/en/articles/683463723/</link>
      <pubDate>Thu, 22 Feb 2024 14:15:32 +0000</pubDate>
      <guid>https://www.ykiko.me/en/articles/683463723/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;This article was translated by AI using Gemini 2.5 Pro from the original Chinese version. Minor inaccuracies may remain.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Prequel: &lt;a href=&#34;https://www.ykiko.me/en/articles/682031684&#34;&gt;The History of constexpr in C++! (Part One)&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;2015-2016-syntactic-sugar-for-templates&#34;&gt;2015-2016: Syntactic Sugar for Templates&lt;/h2&gt;
&lt;p&gt;In C++, there are many templates that support &lt;a href=&#34;https://en.cppreference.com/w/cpp/language/template_specialization&#34;&gt;full specialization&lt;/a&gt;, but not many that support &lt;a href=&#34;https://en.cppreference.com/w/cpp/language/partial_specialization&#34;&gt;partial specialization&lt;/a&gt;. In fact, only class templates and variable templates support it. Variable templates can actually be seen as syntactic sugar for class templates, so rounding it up, only class templates truly support partial specialization. The lack of partial specialization can make some code very difficult to write.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The History of constexpr in C&#43;&#43;! (Part One)</title>
      <link>https://www.ykiko.me/en/articles/682031684/</link>
      <pubDate>Sat, 10 Feb 2024 15:15:47 +0000</pubDate>
      <guid>https://www.ykiko.me/en/articles/682031684/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;This article was translated by AI using Gemini 2.5 Pro from the original Chinese version. Minor inaccuracies may remain.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;A few months ago, I wrote an article introducing C++ templates: &lt;a href=&#34;https://www.ykiko.me/en/articles/655902377&#34;&gt;Looking at Flowers in a Fog: A True Understanding of C++ Templates&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
