Comment

Comment by mehrdadn

That's supported here! You can do:

  for (auto const &member : enum_traits<E>::members())
  { std::cout << member.name() << std::endl; }
parent mehrdadn 4 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton