Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Re: generation ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 9515 of 9828
Post > Topic >>

Re: generation of called member functions

by markus2004x@[EMAIL PROTECTED] Apr 17, 2008 at 07:31 PM

In windows, it is always compiled, but not included in the final
executable by the linker (unless you are producing a dll and you have
marked that method for ex****t).





On Apr 17, 7:06 pm, todma <toddmarshall2...@[EMAIL PROTECTED]
> wrote:
> If a member function is not called it is not generated.
> If a member function is called by another member function (ad
> infinitum) .....
> ...(Question:) Is it generated or does the compiler trace through all
> of the calling member functions and finding NO external call, not
> generate any of the functions in the calling sequence?
> Thanks
> Todd.
>
> I guess the other question is: if Class1::A() is called by Class2::B()
> but Class2::B() is not called, is Class1::A() generated?
>
> --
>       [ Seehttp://www.gotw.ca/resources/clcm.htmfor
info about ]
>       [ comp.lang.c++.moderated.    First time posters: Do this! ]



-- 
      [ See http://www.gotw.ca/resources/clcm.htm
for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
 




 3 Posts in Topic:
generation of called member functions
todma <toddmarshall200  2008-04-17 12:06:18 
Re: generation of called member functions
Mathias Gaunard <loufo  2008-04-17 16:15:58 
Re: generation of called member functions
markus2004x@[EMAIL PROTEC  2008-04-17 19:31:43 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 15:37:30 CDT 2008.