Re: Re: syntax suggestion

Daniel Wallin <[email protected]>
Newsgroups gmane.comp.lib.boost.langbinding
Message-ID <[email protected]>
Alexander Nasonov wrote:
> I agree that AST for the latter case cannot be eliminated. Though, I believe 
> the former case can be represented internally as a template parameterizied 
> only by a list of classes used in member pointers. The example exposes 
> &B::foo which is actually &A::foo, therefore, mpl::list<A> would suffice. 
> class_<B> needs mpl::list<A>for conversion from B* to A*. It's trivial to 
> call A::foo after this conversion is applied.
> Not the best but much better then AST of all class entities.

.. And still far worse than the current approach.

-- 
Daniel Wallin


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
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.