Re: Conversion policies

David Abrahams <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
Daniel Wallin <[email protected]> writes:

> 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.

These policies aren't the right answer for everything, because as I
said they require lots of intervention; I want to be sure that people
are able to have an "it just works" experience.
-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.