Test IsString<String> and IsString<StringSumHelper>

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

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();