[C++-sig] Boost.Python v2: beginning of generalized object support

David Abrahams david.abrahams at rcn.com
Mon Jun 17 13:06:02 CEST 2002


From: "David Abrahams" <david.abrahams at rcn.com>
> Nasty; that macro is going to stomp on Boost.Python's headers even if I
> provide an alternate interface for you. In how many places is this macro
> defined? Can't you write:
> 
>     #undef _
>     inline void _(char const* x) { gettext(x); }

Err, sorry; that's obviously wrong. Should be something more like:

    inline char const* _(char const* x) { gettext(x); }








More information about the Cplusplus-sig mailing list