On Monday 18 November 2002 05:09 pm, David Abrahams wrote:
> Stephen Davies <[EMAIL PROTECTED]> writes:
> > Oh and BTW, your issue about name lookup is already solved by Synopsis,
> > since the name lookup in the parser is pretty good. It handles
> > namespaces, inheritance, using directives, using declarations, qualified
> > or basic lookup etc no problem. The one thing it can't do is figure out
> > this example:
> >
> > vector<int> myvec;
> > foo(myvec.front()); // What is the argument to foo?
> >
> > The answer is int&, but Synopsis can't instantiate templates (yet)
> > to figure that out. But this sort of thing only occurs in function
> > bodies so your documentation should be fine.
>
> I believe GCC_XML can do that. Of course, it is not by any means a
> generalized documentation tool. However, it might be interesting to
> think about plugging it into Synopsis as a different C++ parser... for
> someone with extra time on his hands ;-)

GCC_XML has the opposite problem: it only deals with instantiated templates. 
But feel free to extend it for documentation output, if you'd like :)

        Doug


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Boost-docs mailing list
[EMAIL PROTECTED]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to