<?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>If Constexpr on Hical</title><link>https://hicalio.cn/tags/if-constexpr/</link><description>Recent content in If Constexpr on Hical</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 12 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://hicalio.cn/tags/if-constexpr/index.xml" rel="self" type="application/rss+xml"/><item><title>用 if constexpr + 模板在一份代码中同时处理 TCP 和 SSL 连接</title><link>https://hicalio.cn/posts/04-if-constexpr-tcp-ssl-unification/</link><pubDate>Sun, 12 Apr 2026 00:00:00 +0000</pubDate><guid>https://hicalio.cn/posts/04-if-constexpr-tcp-ssl-unification/</guid><description>以 Hical 框架的 GenericConnection 为例，用 C++17 if constexpr + 类型萃取在一个模板类中统一 TCP 和 SSL 连接。</description></item></channel></rss>