[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65318] Deprecation warning with C++20
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #65318] Deprecation warning with C++20 |
Date: |
Fri, 16 Feb 2024 05:40:13 -0500 (EST) |
Follow-up Comment #11, bug#65318 (group octave):
When this issue came up once before, I argued for using [=] by default almost
everywhere because it did the right thing (including capturing "*this" by
reference) and it was simpler for maintenance than explicitly listing all the
captured variables. But now I agree it is probably best to just list them all
individually and avoid [=] (or [&], in the rare cases where that is
appropriate). If we have advice about this in a style guide, we should
probably update it. I can work on the conversion on the default branch. I
already backed out my previous change.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65318>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, (continued)
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Markus Mützel, 2024/02/15
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, John W. Eaton, 2024/02/15
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Rik, 2024/02/15
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, John W. Eaton, 2024/02/15
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Rik, 2024/02/15
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Markus Mützel, 2024/02/16
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Markus Mützel, 2024/02/16
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, John W. Eaton, 2024/02/16
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Markus Mützel, 2024/02/16
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Markus Mützel, 2024/02/16
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20,
John W. Eaton <=
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, John W. Eaton, 2024/02/16
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Philip Nienhuis, 2024/02/17
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Markus Mützel, 2024/02/19
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, John W. Eaton, 2024/02/19
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Philip Nienhuis, 2024/02/19
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Rik, 2024/02/19
- [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20, Rik, 2024/02/21