Compiler Error C2616
'conversion' : cannot implicitly convert a non-lvalue 'type1' to a 'type2' that is not const
A reference cannot be initialized from a non-lvalue.
This is an error under ANSI compatibility (/Za) and a warning under Microsoft extensions (/Ze).
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for