RAD Studio
ContentsIndex
PreviousUpNext
E2210: Reference member 'member' is not initialized

References must always be initialized, in the constructor for the class. 

A class member of reference type must have an initializer provided in all constructors for that class. 

This means you can't depend on the compiler to generate constructors for such a class, because it has no way of knowing how to initialize the references.

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