src/class.cpp
/*!
 * \fn bool isClosure() const
 * \brief returns whether this class is a closure type
 */
\fn bool isClosure() const
\brief returns whether this class is a closure type
\ fn bool isClosure () const \ brief returns whether this class is a closure type
bool Class::isClosure() const
{
  return dynamic_cast<ClosureTypeImpl*>(d.get()) != nullptr;
}
bool Class :: isClosure ( ) const { return dynamic_cast < ClosureTypeImpl * > ( d . get ( ) ) != nullptr ; }
\fn bool isClosure() const
 \brief returns whether this class is a closure type
\ fn bool isClosure () const \ brief returns whether this class is a closure type
// @TODO: avoid the dynamic_cast