https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
--- Comment #9 from Daniel Krügler ---
(In reply to Sumant Tambe from comment #8)
> How does the recursive strmatch function work then?
It works, because the function implementation does not contain any expression
that would depend on being a co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
--- Comment #8 from Sumant Tambe ---
Bummer! My assumption/expectation (probably due to my ignorance) is that any
transformation/result obtained using a constexpr function should be usable
(perhaps recursively) in the caller constexpr function. H
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
--- Comment #7 from Daniel Krügler ---
(In reply to Paolo Carlini from comment #6)
> 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(t1);
>
> lik
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
--- Comment #6 from Paolo Carlini ---
Sorry, I made a mistake, the original testcase with 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 e
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
Paolo Carlini changed:
What|Removed |Added
CC||paolo.carlini at oracle dot com
--- Comm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
--- Comment #4 from Paolo Carlini ---
Thanks Daniel. In fact - I should have attached some code - nothing about
& co matters, you can remove it completely and replace std::get with,
say,
template
constexpr int get() { return 1; }
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
--- Comment #3 from Daniel Krügler ---
The code looks valid to me. I think that Paolo just wanted to point out that
the library implementation does not cause this. I agree with him and can
confirm that the code is also rejected when emulating the
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
--- Comment #2 from Sumant Tambe ---
I'm a bit confused. Is the program illformed or supposed to compile but does
not.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
10 matches
Mail list logo