[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2023-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2021-08-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 Andrew Pinski changed: What|Removed |Added CC||thiago at kde dot org --- Comment #7

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2018-07-27 Thread eracpp at eml dot cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 --- Comment #6 from eracpp --- Apologies, it should be `decltype((l))` and `decltype((r))` for the last two entries in the table.

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2018-07-27 Thread eracpp at eml dot cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 eracpp changed: What|Removed |Added CC||eracpp at eml dot cc --- Comment #5 from

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2016-01-06 Thread lichray at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 Zhihao Yuan changed: What|Removed |Added CC||lichray at gmail dot com --- Comment #3

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2016-01-06 Thread lichray at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 --- Comment #4 from Zhihao Yuan --- (In reply to Zhihao Yuan from comment #3) > Confirmed, please fix. As the standardization of `std::as_const`, this bug > becomes significant. Never mind, I will create another bug report to demonstrate my

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 Ville Voutilainen ville.voutilainen at gmail dot com changed: What|Removed |Added Keywords|

[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192 --- Comment #2 from Ville Voutilainen ville.voutilainen at gmail dot com --- Reduced: template class, class struct same {static constexpr bool value = false;}; template class T struct sameT, T {static constexpr bool value = true;}; int main() {