Re: Fix title when refresh for not existing folder

"kaczoroj" <[email protected]> Fri, 14 May 2004 01:30:21 -0000
Newsgroups gmane.comp.version-control.cvs.gui.devel
Message-ID <[email protected]>
Jens,

> (2) You moved the implementation of the member functions into 
> the .cp file. This is a problem for templated classes, since 
> anybody who wants to instantiate such a template class needs 
> the implementation in order to instantiate the template. 
> However, the .cp file contains much more than just those 
> implementations, so it can't just be included from another file.

Often you can separate the implemntation into .cpp file but if you 
can't - like for inline functions - just put the implementation in the 
header. Not in the class declaration but underneath. You can find the 
line below in the code similiar to this:

// TMPersistent inline implementations

Just move the implementations you need to that place from .cpp file.

The idea is to separate declaration and implementation so one can 
easily see what the class is doing and document it properly without 
creating too much noise in the code.

Best Regards,
Jerzy




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/NhFolB/TM
---------------------------------------------------------------------~->

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/cvsgui-dev/

<*> To unsubscribe from this group, send an email to:
     [email protected]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/