Re: Re: Conversion policies
Daniel Wallin <[email protected]>
| Newsgroups | gmane.comp.lib.boost.langbinding |
|---|---|
| Message-ID | <[email protected]> |
At 11:52 2003-08-26, Daniel Wallin wrote:
>At 11:00 2003-08-26, Daniel Wallin wrote:
>>One thing that would be cool is if you would be able to chain compile
>>time selected converters with runtime dispatch converters.. Something
>>like:
>>
>>chain(my_policy(result), default_policy)
>
>.. Or even better, automatically chain converters that is applied to the
>same parameter:
>
>def("f", &f, my_policy(_1) + my_other_policy(_1)) automatically chains
>my_policy and my_other_policy, we could also automatically chain everything
>with the default policy.
.. Or course if we do anything like this it means we'd have another layer in
the conversion process, so the converters will have to use in-place
construction
and return a const& instead of a temporary..
---
Daniel Wallin
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0