Test IsString<String> and IsString<StringSumHelper>

This commit is contained in:
Benoit Blanchon committed 2022-10-31 18:02:07 +01:00
1 parent c3d5e9382d
commit b8d1dccb21
2 files changed
+9 -24

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ class String {
size_t _maxCapacity;
};
class StringSumHelper;
class StringSumHelper : public ::String {};
inline bool operator==(const std::string& lhs, const ::String& rhs) {
return lhs == rhs.c_str();