This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57248] string parameter to constexpr functions
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Sep 2014 11:00:59 +0000
- Subject: [Bug c++/57248] string parameter to constexpr functions
- Auto-submitted: auto-generated
- References: <bug-57248-4 at http dot gcc dot gnu dot org/bugzilla/>
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.