Re: Re: Conversion policies
Daniel Wallin <[email protected]>
| Newsgroups | gmane.comp.lib.boost.langbinding |
|---|---|
| Message-ID | <[email protected]> |
At 01:54 2003-08-08, David Abrahams wrote: >Daniel Wallin <[email protected]> writes: > > > Yes, but see above. The direction depends on the context. The > > converter generator might just as well be used to generate > > converters in the other direction. > >Can you show an example where the same policy makes sense in either >direction? In luabind we have "adopt" which works in both directions, we also have "container_policy" which converters STL style containers <-> lua tables. --- Daniel Wallin ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01