<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>cpp on Anonymous&#39; Blog</title>
    <link>https://huweicai.com/tags/cpp/</link>
    <description>Recent content in cpp on Anonymous&#39; Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zn-Hans</language>
    <lastBuildDate>Sat, 12 Jul 2025 19:58:00 +0800</lastBuildDate>
    
	<atom:link href="https://huweicai.com/tags/cpp/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>一些有意思的C&#43;&#43;代码</title>
      <link>https://huweicai.com/cpp-fun-codes/</link>
      <pubDate>Sat, 12 Jul 2025 19:58:00 +0800</pubDate>
      
      <guid>https://huweicai.com/cpp-fun-codes/</guid>
      <description>三行情诗 谁说我们写 C++ 的就不懂浪漫了： // 我的心必须通过&amp;quot;爱你&amp;quot;的约束才能实例化 template&amp;lt;typename Heart&amp;gt; requires loves&amp;lt;Heart, You&amp;gt; // 激情、忠诚、永恒置入爱的元组，这份爱在编译时就已确定，不会因运行时的变化而改变 // 是写在源码里的承诺，是嵌入二进制的誓言 constexpr auto my_feelings = std::tuple{passion, devotion, eternity}; // 在 C++ 的类型系统中，我们的未来被特化为永远为真，这是编译器都认可的事实 template&amp;lt;&amp;gt; struct future&amp;lt;us&amp;gt; : std::true_type { static constexpr auto value = forever; }; 不愧是我们写 C++ 的，写出来的情诗都能是零运行时开销的。 AND 下面这段代</description>
    </item>
    
    <item>
      <title>C/C&#43;&#43; &amp; Python 融合之道</title>
      <link>https://huweicai.com/c-with-python-intercall/</link>
      <pubDate>Mon, 29 Jan 2024 09:50:00 +0800</pubDate>
      
      <guid>https://huweicai.com/c-with-python-intercall/</guid>
      <description>Python 解释器 正如软件系统通常分为定义与实现两部分，编程语言也是。 比如 C++ 标准是由国际标准化组织 ( ISO ) 下属的 ISO/IEC JTC1/SC22/WG21特别工作组制定的，最新标准为 C++ 20 (ISO/IEC 14882:2020)，这是定义；而其实现则有 GNU 的 gcc、微软的 visual c++、Apple 发起的 clang 等等，任何人都可以按照定义去实现自己的实现。 Java 规范则是由 Oracle 主导的 JCP 所制定，有 Oracle Java SE、OpenJDK、Corretto、AdoptOpen 等大量</description>
    </item>
    
  </channel>
</rss>