RAD Studio
ContentsIndex
PreviousUpNext
E2131: Objects of type 'type' cannot be initialized with { }

Ordinary C structures can be initialized with a set of values inside braces. 

C++ classes can only be initialized with constructors if the class has constructors, private members, functions, or base classes that are virtual.

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