We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d699866 commit 88279b2Copy full SHA for 88279b2
test/string-main.t.hpp
@@ -86,7 +86,7 @@ namespace std17 {
86
87
inline bool operator==( std::vector<string_view> const & a, std::vector<std::string> const & b )
88
{
89
- return std::equal( a.begin(), a.end(), b.begin() );
+ return std::equal( a.begin(), a.end(), b.begin() ) && a.size() == b.size();
90
}
91
92
inline bool operator==( std::vector<std::string> const & a, std::vector<string_view> const & b )
0 commit comments