This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/80165] Constexpr tuple of variant doesn't work


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

Benjamin Buch <benni.buch at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benni.buch at gmail dot com

--- Comment #3 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]