[C++-sig] Boost.Python v2: beginning of generalized object support
niki at vintech.bg
Fri Jul 19 18:51:15 CEST 2002
David Abrahams wrote:
>>>Am I missing something here?
>>obj._("test") will include string "test" for translation (i18n)
> How? What is the mechanism that causes it to happen?
Special parser which looks for string in form _("...")
> I don't see how
> #define _(x) gettext(x)
> can cause it.
It's not #define but usage. Parser will get it even without #define.
More information about the Cplusplus-sig