src/class.cpp
/*!
 * \fn Class memberOf() const
 * \brief returns the class in which this class is defined
 */
\fn Class memberOf() const
\brief returns the class in which this class is defined
\ fn Class memberOf () const \ brief returns the class in which this class is defined
Class Class::memberOf() const
{
  auto enclosing_symbol = d->enclosing_symbol.lock();
  return Class{ std::dynamic_pointer_cast<ClassImpl>(enclosing_symbol) };
}
Class Class :: memberOf ( ) const { auto enclosing_symbol = d -> enclosing_symbol . lock ( ) ; return Class { std :: dynamic_pointer_cast < ClassImpl > ( enclosing_symbol ) } ; }
\fn Class memberOf() const
 \brief returns the class in which this class is defined
\ fn Class memberOf () const \ brief returns the class in which this class is defined