Re: [pygccxml-development] [FT]input_t class - new vision.
Brought to you by:
mbaas,
roman_yakovenko
From: Matthias B. <ba...@ir...> - 2006-09-14 13:40:50
|
Roman Yakovenko wrote: > So how it is related to "input_t" ? "input_t" transformer removes > reference or pointer > from the argument type. In my case I want to modify the argument type > too, but I also > want to specify the new type. Same logic is applied on return type. > > May be we can change\extend input_t class ( and rename it ) so it will > provide this functionality? What name and new construction arguments do you suggest? This might also be an example where it could actually be useful to apply several transformers to one argument (I haven't had such a case yet). For example, if there would be a policy remove_const_t you could apply both, input_t and remove_const_t, to the same argument. I think this should even work already with the current version. - Matthias - |