[Bug c++/105111] Ambiguous constructor overload with requires constraint

2022-03-30 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
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.

[Bug c++/105111] New: Ambiguous constructor overload with requires constraint

2022-03-30 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
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

[Bug c++/103668] constexpr std::vector not working as expected

2021-12-12 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
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.

[Bug c++/103668] constexpr std::vector not working as expected

2021-12-12 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
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.

[Bug c++/103668] New: constexpr std::vector not working as expected

2021-12-12 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
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+

[Bug c++/102092] [C++2b] Passing argument to auto template parameter modifies the value of argument inside function

2021-08-27 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
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

[Bug c++/102092] New: [C++2b] Passing argument to auto template parameter modifies the value of argument inside function

2021-08-27 Thread andrei.popa105 at yahoo dot com via Gcc-bugs
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