From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Roxborough To: Worik Cc: sourcenav@sourceware.cygnus.com Subject: Re: X-Ref Referres to for constructors Date: Mon, 17 Sep 2001 17:43:00 -0000 Message-id: <3BA69B97.2C7F6917@redhat.com> References: <3BA6883D.C91B81D2@jungledrum.co.nz> X-SW-Source: 2001-q3/msg00162.html Worik wrote: > > Are they many (any) explicit calls being made to the constructor? > > No. The object in question is created like.... > > class foo { > ... > }; > > int main(){ > foo f; > ... > } Ok, you aren't actually calling any constructors here. You are creating an object (the constructor is called at run time but not by you). If you have had something like: "foo::foo()" or "f.foo()" then it should show X-refs to constructors. You can however perform X-Refs on classes which will show you all the places that your object might be created (and hence the constructor called). Ian.