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

Niki Spahiev niki at vintech.bg
Mon Jun 17 12:43:32 CEST 2002


>>Why not:
>>
>>x.a("foo") = 1
>>y = x.a("foo")
>>
>>or any other letter?
> 
> 
> Why don't you use a different macro? Or better yet, enter the modern world
> and use an inline function instead? ;-)

Because code with _("") is already written, but Python interface is not :)

regards,
Niki Spahiev






More information about the Cplusplus-sig mailing list