mirror of
https://github.com/boostorg/static_string.git
synced 2026-01-26 00:22:20 +01:00
disable string_view overloads when type is convertible to basic_static_string
fixes #47
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user