spaceship operator fix
This commit is contained in:
@@ -61,7 +61,8 @@ namespace OpenVulkano
|
||||
template<typename T> String operator+(const T& other) const { return m_string + other; }
|
||||
String operator+(const String& other) const { return m_string + other.m_string; }
|
||||
|
||||
template<typename T> int operator<=>(const T& other) const { return m_string <=> other; }
|
||||
template<typename T> auto operator<=>(const T& other) const { return m_string <=> other; }
|
||||
auto operator<=>(const String& other) const = default;
|
||||
explicit operator bool() const { return !m_string.empty(); }
|
||||
|
||||
operator std::string() const { return m_string; }
|
||||
|
||||
Reference in New Issue
Block a user