[Bug c++/77601] error: cannot convert 'is_same' to 'const bool' in initialization

2021-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77601 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.4 Resolution|---

[Bug c++/77601] error: cannot convert 'is_same' to 'const bool' in initialization

2016-09-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77601 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/77601] error: cannot convert 'is_same' to 'const bool' in initialization

2016-09-15 Thread lh_mouse at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77601 --- Comment #1 from lh_mouse --- Oops, the last line in `main()` should have been constexpr bool b3 = is_same{}; And as the comment before that line says, it works with g++.