review fix for string
This commit is contained in:
@@ -61,12 +61,7 @@ namespace OpenVulkano
|
|||||||
template<typename T> String operator+(const T& other) const { return m_string + other; }
|
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; }
|
String operator+(const String& other) const { return m_string + other.m_string; }
|
||||||
|
|
||||||
#if defined(_HAS_CXX20)
|
|
||||||
template<typename T> int operator<=>(const T& other) const { return m_string <=> other; }
|
template<typename T> int operator<=>(const T& other) const { return m_string <=> other; }
|
||||||
#endif
|
|
||||||
|
|
||||||
template<typename T> bool operator==(const T& other) const { return m_string == other; }
|
|
||||||
template<typename T> bool operator!=(const T& other) const { return m_string != other; }
|
|
||||||
explicit operator bool() const { return !m_string.empty(); }
|
explicit operator bool() const { return !m_string.empty(); }
|
||||||
|
|
||||||
operator std::string() const { return m_string; }
|
operator std::string() const { return m_string; }
|
||||||
|
|||||||
Reference in New Issue
Block a user