[C++-sig] Re: missing boost::ref in pyste generated code?

Giulio Eulisse Giulio.Eulisse at cern.ch
Tue Jun 3 23:53:00 CEST 2003


> >>How about something like this:
> >>C = Class('C', 'C.h')
> >>by_ref(C.foo)
> >>by_ref(C.bar)
> >Don't you need control on an argument-by-argument basis?
> I don't know, I thought by method would be sufficient. Giulio?

In my case, control by method would be probably sufficient, as we should 
have control on the all the object passed(actually I would suggest to add a 
"by_ref(C)" method), but I agree that argument-by-argument would be a more 
correct approach.

Ciao,
Giulio





More information about the Cplusplus-sig mailing list