Re: [eigen] About dropping C++03 compatibility

[ Thread Index | Date Index | More Archives ]


Am 19.02.19 um 14:58 schrieb Gael Guennebaud:> Hi,
> this a follow-up of another thread that deviated towards the question of what should be the minimal c++ version required for future Eigen's version.
> Just to be clear, the 3.4 version will be fully compatible with C++03, while exposing/taking-advantage-of a few C++11, C++14, and even C++17 features when available.
> There is, however, a limit in conditionally enabling features based on the available c++ version, and maintaining multiple variants is out of reach for us.
> Moreover, switching to c++11 or even 14 would help *a lot* in day-to-days Eigen coding with many opportunities to simplify the code base, logics, compilation-times, unit-testing, etc.

I would vote for C++14 for a 4.x release.
In my opinion it's a good reason to switch if that helps to speed up Eigen's code development.

Switching to C++14 for a 4.x release won't magically destroy the 3.4 release.
Projects which depend on older infra structure (e.g. some HPC platforms tend to be
rather out-dated) can still use the 3.4 release.

Best regards,

Mail converted by MHonArc 2.6.19+