Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 551 Bytes

compiler-error-c2616.md

File metadata and controls

15 lines (12 loc) · 551 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2616
Compiler Error C2616
11/04/2016
C2616
C2616
8d0c02d6-a0b0-4135-b10f-438d67da68c6

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