Fixes missing documentation
This commit is contained in:
parent
3b19f8b268
commit
eda1a29427
src/String
|
@ -124,13 +124,17 @@ namespace ArbUt {
|
|||
/// @return std::string_view.
|
||||
[[nodiscard]] inline std::string_view std_str() const noexcept final { return _str->GetValue(); }
|
||||
|
||||
/// @brief Check equality with standard C++ string.
|
||||
inline constexpr bool operator==(const std::string_view& rhs) const noexcept final {
|
||||
return _hash == Hash(rhs.data());
|
||||
}
|
||||
/// @brief Check inequality with standard C++ string.
|
||||
inline constexpr bool operator!=(const std::string_view& rhs) const noexcept final {
|
||||
return _hash != Hash(rhs.data());
|
||||
}
|
||||
/// @brief Check equality with standard C style string.
|
||||
inline constexpr bool operator==(const char* non_null rhs) const noexcept final { return _hash == Hash(rhs); }
|
||||
/// @brief Check inequality with standard C style string.
|
||||
inline constexpr bool operator!=(const char* non_null rhs) const noexcept final { return _hash != Hash(rhs); }
|
||||
|
||||
/// @brief Calculates the hash for a given C string.
|
||||
|
|
Loading…
Reference in New Issue