this post was submitted on 30 Jun 2024
11 points (100.0% liked)
C++
1721 readers
8 users here now
The center for all discussion and news regarding C++.
Rules
- Respect instance rules.
- Don't be a jerk.
- Please keep all posts related to C++.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
“Simple” enum to string
They have taken us for absolute fools.
To be fair, it's quite an advancement considering what I was expecting.
Just about my only question is why the return is a
string
and not a `string_view``.