Where does def_cast
work? Regarding the issue of execute_cast
compilation failure.
#5811
MannixYang
started this conversation in
General
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In operator.h,
execute_cast
may fail to compile because no constructorB(expr)
.Can we use
if constexpr
to avoid compilation failures?Like this:Similar issue: #1487
Beta Was this translation helpful? Give feedback.
All reactions