Re: Re: new round
Alexander Nasonov <[email protected]>
| Newsgroups | gmane.comp.lib.boost.langbinding |
|---|---|
| Message-ID | <[email protected]> |
Daniel Wallin wrote: > Well, the scheme for pointer conversion is to map typeinfo's to vertices > in a cast graph where the edges holds conversion functions. And the > conversion result (pointer offset) is cached. But this isn't what we are > discussing, is it? I'm interested in all ideas and impl details. With a lack of the C++ sources I can't figure out how it works. You are only the source of information. > I'm sorry, but I don't understand this. What does this have to do with > the exception conversion thing? There is no connection. I was probably sleeping. However, if A in my example is polymorphic: A* make_one_thousand_and_one(std::string id); then typeid(A) and typeid(*make_one_thousand_and_one(id)) may be different. What is a strategy in this case? -- Alexander Nasonov Independent Developer and Consultant ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click