Re: Re: Fix title when refresh for not existing folder
Jens Miltner <[email protected]> Fri, 14 May 2004 10:16:57 +0200
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
Am 14.05.2004 um 03:30 schrieb kaczoroj:
> 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.
O.k., very well - I just wanted to confirm with you before "reverting"
your changes since I assumed you had some reason ;-)
I agree that it's good practice to separate declaration and definition.
</jum>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/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/