How do I make a switch case in cppfront? #1302
Answered
by
hsutter
MatthieuHernandez
asked this question in
Q&A
-
I couldn't find anything about this in the documentation. I tried to use an |
Beta Was this translation helpful? Give feedback.
Answered by
hsutter
Oct 7, 2024
Replies: 2 comments 10 replies
-
Here's an example, from the documentation's
|
Beta Was this translation helpful? Give feedback.
7 replies
-
Gripes with
Like in |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cppfront doesn't yet support blocks in
inspect
alternatives. For now this will work:To my surprise, one thing I've learned so far with cppfront is that
inspect
doesn't appear to be one of the popular features. Most other features have generated a lot of usability/correctness feedback like this, and I originally expected much more of that forinspect
butinspect
has been generally quiet. That usually indicates that people aren't trying to use a feature...? And that could b…