https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105111
--- Comment #3 from Andrei-Edward Popa ---
Thanks for that reference to the standard, it is clear to me why gcc reject
this call as ambiguous.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105111
Bug ID: 105111
Summary: Ambiguous constructor overload with requires
constraint
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Prior
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103668
--- Comment #4 from Andrei-Edward Popa ---
Yes, I really missed this constexpr instead of const, this is clear for me.
Thank you!
I think this thread can be closed now.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103668
--- Comment #2 from Andrei-Edward Popa ---
This code is valid in MSVC compiler, that's why I'm wondering about it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103668
Bug ID: 103668
Summary: constexpr std::vector not working as expected
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102092
--- Comment #1 from Andrei-Edward Popa ---
This is a link for code compilation in compiler explorer.
https://godbolt.org/z/3jMr6Wze6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102092
Bug ID: 102092
Summary: [C++2b] Passing argument to auto template parameter
modifies the value of argument inside function
Product: gcc
Version: 12.0
Status: UNCONFIRMED