You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Farid Zaripov <fa...@kyiv.vdiweb.com> on 2007/02/21 01:11:43 UTC

[PATCH] rw_sigdefs.h

    ChangeLog:
    * rw_sigdefs.h: New file with definitions of helpers macros
    to define member and non-member functions overload id's
    * 21.strings.h: Helper macros moved from here to rw_sigdefs.h

   The patch is attached.

Farid.


Re: [PATCH] rw_sigdefs.h

Posted by Martin Sebor <se...@roguewave.com>.
Farid Zaripov wrote:
>    ChangeLog:
>    * rw_sigdefs.h: New file with definitions of helpers macros
>    to define member and non-member functions overload id's
>    * 21.strings.h: Helper macros moved from here to rw_sigdefs.h
> 
>   The patch is attached.

I see what you did: you #define the macros if they're not defined
yet and #undefine them otherwise -- very tricky! ;-) Some compilers
(typically those that implement separate compilation) tend to be
finicky about macros that are used in header and especially .cc
files (in template definitions) being undefined too early but I
think what you did should work since there are no templates or
.cc files involved here.

Martin