Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C2616
Collapse the table of content
Expand the table of content

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).

© 2015 Microsoft