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 c++/57248] string parameter to constexpr functions


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

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Sorry, I made a mistake, the original testcase with <tuple> replaced by the
code in Comment #3 is still rejected. However, it's true that all the up to
date compilers I have at hand reject it with the same kind of error about get
at:

   return std::get<index(array)>(t1);

like for my reduced testcase in Comment #5.


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