roza/lib/Type.cpp

24 lines
308 B
C++

#include "Type.hpp"
namespace roza
{
/*explicit*/ Type::Type(BaseType base)
: m_base { base }
{
}
/*virtual*/ Type::~Type()
{
}
bool Type::equals(BaseType rhs) const
{
return m_base == rhs;
}
bool Type::equals(Type const& rhs) const
{
return m_base == rhs.m_base;
}
}