Document symbol bag class and methods
This commit is contained in:
@@ -48,4 +48,20 @@ namespace elna::boot
|
||||
{
|
||||
return !m_errors.empty();
|
||||
}
|
||||
|
||||
bool identifier_definition::operator==(const identifier_definition& that) const
|
||||
{
|
||||
return *this == that.name;
|
||||
}
|
||||
|
||||
bool identifier_definition::operator==(const std::string& that) const
|
||||
{
|
||||
return this->name == that;
|
||||
}
|
||||
}
|
||||
|
||||
std::size_t std::hash<elna::boot::identifier_definition>::operator()(
|
||||
const elna::boot::identifier_definition& key) const
|
||||
{
|
||||
return std::hash<std::string>{}(key.name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user