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 ;-)

-- 
                       David Abrahams
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution



-------------------------------------------------------
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