RAD Studio
ContentsIndex
PreviousUpNext
E2357: Reference initialized with 'type1', needs lvalue of type 'type2'

A reference variable that is not declared constant must be initialized with an lvalue of the appropriate type. 

In this case, the initializer either wasn't an lvalue, or its type didn't match the reference being initialized.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!