Re: Registries [2]
David Abrahams <[email protected]>
| Newsgroups | gmane.comp.lib.boost.langbinding |
|---|---|
| Message-ID | <[email protected]> |
Daniel Wallin <[email protected]> writes: > At 10:20 2003-07-28, Daniel Wallin wrote: >>At 01:10 2003-07-28, David Abrahams wrote: >>>Oh. The implicit imports I thought we'd handle by having a global >>>converter registration chain for any type and simply tacking it onto >>>the end of each extension's local chain as part of the initialization >>>of the local registration. >> >>Right, but this seems to imply the same implementation that I suggested. >>Because even if module Y is initialized after module X, module X needs >>to know about the converters module Y exposes. So the initialization of >>module Y needs to add converters do module X's registry. Right? > > I think I misinterpreted this, did you mean linking the actual chains together > rather than adding converters from the global chain to the local ones? Yes, I meant essentially that all local chains for a type would share a tail: the corresponding global chain. -- Dave Abrahams Boost Consulting www.boost-consulting.com ------------------------------------------------------- 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