Re: Doxygen not showing friend operators of C++ base class

Richard Damon <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <[email protected]>
On 9/1/17 2:03 AM, Maarten de Jong wrote:
> Dear all,
>
> In some previous versions of Doxygen (e.g. 1.6.1) , the friend 
> operators of the base class
> in the attached example were displayed as "Friends" under the listing 
> of the derived class
> but this is no longer so in the latest version of Doxygen (1.8.13).
> For information, the parameter INLINE_INHERITED_MEMB = YES.
> Would it be possible to recover this information?
> Thanks in advance,
>
> Maarten
>
One thing to note, friends are NOT inherited in C++, so the friend of a 
base class has no special rights to my private/protected members, just 
those of my base class that gave it friendship.

The out of class operators (which are sometimes given friend access) are 
NOT member functions.

Doxygen listing them as 'Inherited Members' would have been a bug.

-- 
Richard Damon


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
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.