[Bug c++/81507] map header kills variant of vectors
benni.buch at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jul 21 11:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81507
--- Comment #5 from Benjamin Buch <benni.buch at gmail dot com> ---
Yes, but in a long list of template heavy calls it is not trivial to see it, if
you don't expect such an error in your code.
It would be nice to have something like the 'did you mean …' hints, if an
argument dependent overload results in an error, but the call of an overload in
the current namespace would be correct. I know this is not trivial to
implement, but it would be helpful.
And yes, in this minimal example it is possible to see it, but it took me 90
minutes get this minimal example.
More information about the Gcc-bugs
mailing list