See strtmpl.h in sal/rtl for example.  IIRC, sal and tools are littered
with these contructs.

--
Michael Leibowitz
Software Engineer, Channel Platform Solutions Group
Intel Corporation
michael.leibowitz at intel.com
+1 503 264 7621


>-----Original Message-----
>From: Kai Backman [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, January 16, 2007 5:20 AM
>To: Stephan Bergmann
>Cc: dev@openoffice.org; Kay Ramme - Sun Germany - Hamburg; Hans-Joachim
>Lankenau
>Subject: Re: [dev] PCH where we are
>
[snip..snip]
>is it OK to remove/rewrite them from the codebase. Ie. do we ever
>legitimately need to do the following (that can't be replaced by
>constants and templates):
>
>sample1.cxx:
>#define FOO
>#include "foo.hxx" // Now foo.hxx behaves in one way
>
>sample2.cxx:
>#define BAR
>#include "foo.hxx // Now foo.hxx behaves differently
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to