Douglas Paul Gregor wrote:

> >     namespace boost {
> >         void foo(int);
> >
> >         void foo(double);
> >     }
>
> If you write this as:
>
> <overloaded-function name="foo">

Well, I use doxygen, so I have no control over what's produced ;-)

> it will work. If you absolutely have to have the functions as separate
> "function" entities, then we'll need to figure something out :).

> > in some header, and
> >
> >     <functionname alt='boost::foo'>foo</functionname>
> >
> > in XML file, then I get:
> >
> > Reference to function 'boost::foo' is ambiguous. Found:
> >           Match in namespace ::
> >           Match in namespace ::
> >
> > and no link is generated.
> >
> > It would be nice to generate a link to the first function from the
> > overload set (and make sure all functions are listed in one place).
>
> Hmmm, I think this is possible, but it's not easy in XSLT. Perhaps
> allowing an id on the <function> tag and a refid on the <functionname>
> tag is the right plan.

Probably, but will it help with doxygen? I can't put 'id' in doxygen comment, 
can I?

BTW, isn't it possible, after emitting "Reference to ... is ambiguous" message 
to just generate the link to the first found node?

- Volodya


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Boost-docs mailing list
[EMAIL PROTECTED]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to