https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109442

--- Comment #37 from Antony Polukhin <antoshkka at gmail dot com> ---
Unfortunately the examples are not artificial. People do write business logic
code as `vector_variable == std::vector<std::string>{"*"}`. That particular
example is taken from our codebase and I easily find 4 exact matches of `!=
std::vector<std::string>{"*"}` in production code.

I also find 35 matches of `== std::vector<` in tensorflow project, and more
than 500 matches in tests of different projects that we use (looks like there's
more than 1000 of matches, unfortunately the output is limited to 500 matches)

Reply via email to