Wireshark mailing list archives

Re: Switch to C++11 or C++14


From: Peter Wu <peter () lekensteyn nl>
Date: Sat, 2 Jun 2018 17:05:41 +0200

On Sat, Jun 02, 2018 at 09:53:16AM -0400, Michael Mann via Wireshark-dev wrote:
What features of C++11 and 14 do you plan to use and where?

I would love to use C++11 range-based for loops with the "auto" keyword,
that would allow iterators to be written in a much more readable/shorter
notation.

Another minor helpful feature is the "override" keyword (currently
available through the Q_OVERRIDE macro) which reduces the probability of
adding dead code.
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: