TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: The Ultimate C++14 (and later) Enum Library

38 点作者 mehrdadn将近 3 年前

4 条评论

rsp1984将近 3 年前
This is probably an amazing library, yet the documentation gives me no clue<p>* what the problem is that needs solving,<p>* how the lib solves it and how that&#x27;s preferable over dealing with the problem another way,<p>* how it compares to other libs that solve the same problem.<p>Therefore my interest in using this for my own projects right now is unfortunately close to zero.
评论 #32248593 未加载
评论 #32248606 未加载
soylentgraham将近 3 年前
Any chance anyone knows how this compares to magic_enum (which iirc is c++17+ only? Though c++17 seems to be supported every platform i work on now)<p>No string -&gt; enum would probably be a non-starter for me though
评论 #32248362 未加载
shultays将近 3 年前
It is amazing how much effort is going to simplify adding &quot;enum_to_string(e)&quot; support in C++ or C. What is the reason this not being part of C++ standard?
评论 #32248743 未加载
评论 #32248643 未加载
评论 #32249472 未加载
fitch321将近 3 年前
This is where homoiconicity really shines.