This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/81507] map header kills variant of vectors
- From: "benni.buch at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Jul 2017 10:41:22 +0000
- Subject: [Bug libstdc++/81507] map header kills variant of vectors
- Auto-submitted: auto-generated
- References: <bug-81507-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81507
--- Comment #2 from Benjamin Buch <benni.buch at gmail dot com> ---
Same with clang, and I found the reason:
Since the first argument is std::vector, the function std::apply is called
instead of my apply function …
So it's not a bug. But maybe you can add some kind hint for such errors in the
compiler frontend.