disable string_view overloads when type is convertible to basic_static_string

fixes #47
This commit is contained in:
Krystian Stasiowski
2023-05-29 10:38:20 -04:00
parent ac84c4f40e
commit 6275cd7fe3
2 changed files with 98 additions and 64 deletions

View File

@@ -7393,6 +7393,15 @@ testOperatorPlus()
}
}
// issue 47
struct issue_47 : static_string<32>
{
bool compare(const issue_47& other) const
{
return *this < other;
}
};
int
runTests()
{