Path: utzoo!attcan!uunet!husc6!rutgers!apple!mas1!tma From: tma@mas1.UUCP (Tim Atkins) Newsgroups: comp.lang.c++ Subject: Call of constructors by vectors Keywords: why Message-ID: <1904@mas1.UUCP> Date: 9 Jun 89 03:05:00 GMT Organization: Measurex Automation Systems, Cupertino CA Lines: 17 For the life of me, I don't understand why SomeClass x[100]; needs to invoke SomeClass::SomeClass when simpleCType x[100]; has no need to do such. My intuition would be that in the former case I have merely allocated space for 100 instances of SomeClass and that no initialization was asked for or even desirable. Can someone explain this feature to me? I fail to see the current C++ behaviour as a desirable feature. thanks, Tim Atkins