as_if function #651
HungMingWu
started this conversation in
General
Replies: 1 comment 2 replies
-
Sure, that seems useful to me. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Mike,
I have an idea
If we have a function
as_if
, similar tostd::get_if
The above code would become
The idea can extend to
Symbol
andExpression
How do you think?
Beta Was this translation helpful? Give feedback.
All reactions