You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Cppfront prevents the use of the utility rvalue cast function std::move since Cpp2 has the move keyword for params & args, but this means Cpp2 cannot call the overloaded std::movealgorithm.
To Reproduce
Run cppfront on this code (translated from the cppreference example):
TIL there's a std::move that is not the usual one to obtain a rvalue-ref. I guess the fix would be to check if the function is being called with just 1 argument?
Describe the bug
Cppfront prevents the use of the utility rvalue cast function
std::move
since Cpp2 has themove
keyword for params & args, but this means Cpp2 cannot call the overloadedstd::move
algorithm.To Reproduce
Run cppfront on this code (translated from the cppreference example):
Repro on Godbolt
The error is:
The text was updated successfully, but these errors were encountered: