octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65318] Deprecation warning with C++20


From: Rik
Subject: [Octave-bug-tracker] [bug #65318] Deprecation warning with C++20
Date: Thu, 15 Feb 2024 18:01:52 -0500 (EST)

Follow-up Comment #5, bug#65318 (group octave):

Because of the extra work, and uncertainty, I'd leave this changeset on the
default branch.  At worst, someone gets a warning (but no error) on the stable
branch.  Maybe by the first bug fix release we have a suitable strategy.

One thought would be to avoid use of '=' or '&' for default capture and
explicitly capture only the variables we need (including "this").  When I look
at the lambda functions they are always capturing just one or two variables. 


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65318>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]