I'd like move us to C++14!

The following I'd say are the important C++14 features for us:

   - Generic lambdas: [](const auto& x) { /* ... */ }
   - Extended lambda captures: [x = move(x)]() { /* ... */ }

The following are some features that would be helpful for libprocess/stout:

   - Function return type deduction
   - Relaxed constexpr functions
   - std::integer_sequence + other meta-programming facilities

The minimum GCC version would become 5, and minimum VS would be 2017
(deprecation of VS 2015 is already in progress). Clang 3.5 is our current
minimum Clang and it already implements C++14 so there's nothing to do
there.

As a bonus, we pick up the <regex> header which is C++11 but haven't been
usable for us since it's not implemented in GCC 4.8.

Here's the spreadsheet of available compilers from various distros and how
to get them:
https://docs.google.com/spreadsheets/d/1ocQ19Uv1d8wdb-QL4fDRAiQ12gPQwL3cIAzuV0csYwM/edit#gid=0

Please suggest more distros we should consider, and
provide feedback with your concerns!

Thanks,

MPark

Reply via email to