<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Enum on Pi Stack</title>
    <link>https://www.pistack.xyz/tags/enum/</link>
    <description>Recent content in Enum on Pi Stack</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 26 Jun 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.pistack.xyz/tags/enum/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Self-Hosted C&#43;&#43; Enum Reflection Libraries: magic_enum vs Better Enums vs Wise Enum</title>
      <link>https://www.pistack.xyz/posts/2026-06-26-cpp-enum-reflection-magic-enum-better-enums-wise-enum/</link>
      <pubDate>Fri, 26 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://www.pistack.xyz/posts/2026-06-26-cpp-enum-reflection-magic-enum-better-enums-wise-enum/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;C++ enums are great for type safety, but the language provides no built-in way to convert enum values to strings, iterate over enumerators, or query enum bounds at runtime. This forces developers to maintain hand-written lookup tables, &lt;code&gt;switch&lt;/code&gt; statements, or preprocessor macros — all of which are error-prone and drift out of sync as enums evolve.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
