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


#ifndef __DOX__
#define __DOX__



template<T>
struct Base {

  /**
   * Operator +=
   *
   * \param  x       first  value
   * \param  y       second value
   * \return         sum
   */
  friend T& operator+=(T& x, const T& y)
  {
    return x.add(y)
  }

  /**
   * Operator >>
   *
   * \param  x       value
   */
  friend void operator>>(T& x) {}
};


struct Derived :
  public Base
{
  Derived() {}

  /**
   * Add.
   *
   * \param  y       second value
   * \return         sum
   */
  Derived& add(const Derived& y) { return *this; }

  /**
   * Operator <<
   *
   * \param  x       value
   */
  friend void operator<<(const Derived& x) {}
}

#endif
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to