You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template< typename T >
class A
{
template< typename U >
friend void f( A< U > const & a );
};
//! A befriended function template.
//!
//! \param a An object.
template< typename T >
void
f( A< T > const & a );
MrDocs sees two fs (distinct SymbolIDs). The issue doesn't occur if we replace the function template with a class template. Also, it doesn't occur if A is a non-template class (although, in that case, MrDocs shows U as template parameter name, as if it got the friend declaration, rather than the global one, as "primary").
MrDocs
C++ Documentation Tool
version: 0.0.4
build: ec58dfe
built with LLVM 20.0.0git