//! This is a namespace.
namespace MyNamespace {

//! This is an inlined friend function.
inline static void foo_friend();

//! This is an inlined related function.
/*! \relates A */
inline static void foo_related();

}


namespace MyNamespace {

  //! This is A class.
  class A {
    inline static void foo();
    friend inline static void foo_friend();
  };

}


namespace MyNamespace {

/*!
  Detailed description for the static member.
*/
inline static void A::foo() {
  // Bla bla.
}

/*!
  Detailed description for the friend.
*/
inline static void foo_friend() {
  // Bla bla.
}

/*!
  \relates A
  Detailed description for the related.
*/
inline void foo_related() {
  // Bla bla.
}

}
