Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hplsla!jima From: jima@hplsla.HP.COM (Jim Adcock) Newsgroups: comp.lang.c++ Subject: Re: Call of constructors by vectors Message-ID: <6590146@hplsla.HP.COM> Date: 9 Jun 89 23:12:25 GMT References: <1904@mas1.UUCP> Organization: HP Lake Stevens, WA Lines: 18 Well, SomeClass x1; needs to invoke SomeClass::SomeClass whereas simpleCType x1; has no need to do such. A better question is why does: SomeClass x[100]; with: inline SomeClass::SomeClass(){} cause 100 invocations of this do-nothing "initializer" whereas x1 does not cause even 1 invocation of the do-nothing "initializer".