On Sun, 12 Oct 2003 02:57:42 +0400 Alexey Rusakov
<[EMAIL PROTECTED]> wrote:

> I've deleted (well, commented the bodies) both 
> DECLARE_REF_COUNTER and DEFINE_REF_COUNTER macros, and templatized 
> RefCounter* functions instead. Since I needed to put these functions to 
> the header file, I had to add a #include "modules/Filters.h" to define 
> FilterRule class before RefCounter* specializations. I don't know 
> whether such an approach breaks an internal organization of the source 
> code (this is my first hacking into it) and whether it compiles on all 
> target platforms.

Well, it does break code organization. :-) Those macros are there for
efficiency of compilation and efficiency of resulting code. We try to avoid
including headers in other headers.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Mahogany-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-users

Reply via email to