https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97778
Bug ID: 97778 Summary: return type not deduced with gcc but get deduced with clang Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: janezz55 at gmail dot com Target Milestone: --- Created attachment 49538 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49538&action=edit bug Ok, here we go again: does not compile with gcc version 10.2.0, does compile with clang version 10.0.1. Changing auto to std::size_t of hash_combine() fixes the problem.