RAD Studio
ContentsIndex
PreviousUpNext
E2064: Cannot initialize 'type1' with 'type2' (C++)

You are attempting to initialize an object of type 'type1' with a value of type 'type2' which is not allowed. 

The rules for initialization are essentially the same as for assignment.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!