Replies: 10 comments 3 replies
-
Mainstream compilers (gcc, clang, msvc) have almost complete support of C++17 (Some are missing one or two item though). Also Vote for C++17 🙋 |
Beta Was this translation helpful? Give feedback.
-
My only concern about C++17 is some low-cost embedded systems. GCC7 is needed for C++17, and GCC7 was released in 2017. GCC 7.4 is in Ubuntu 18.04. I think very few systems still use an earlier version of Ubuntu 18.04. I think C++17 is possible for OpenCV 5. |
Beta Was this translation helpful? Give feedback.
-
Vote for C++17! |
Beta Was this translation helpful? Give feedback.
-
I'm involved in a number of software developments that are intended to be embedded in computers on board satellites and for which c++14 or later standards are not authorised. I therefore vote in favour of maintaining a minimum c++11 standard. |
Beta Was this translation helpful? Give feedback.
-
Where c++20? |
Beta Was this translation helpful? Give feedback.
-
@vpisarev What's opencv team choice? |
Beta Was this translation helpful? Give feedback.
-
Vote C++17. |
Beta Was this translation helpful? Give feedback.
-
C++20 with modules. Yeah this is a daydream. And please also contribute to DCV., written in a sane language dlang. https://github.com/libmir/dcv |
Beta Was this translation helpful? Give feedback.
-
IMO, developers who are stuck with a very old compiler version can continue to use OpenCV 4. New library versions should target new compiler versions. C++17 is already a conservative choice. |
Beta Was this translation helpful? Give feedback.
-
In OpenCV 4.x the minimum required standard is C++ 11. For OpenCV 5.0 we are going to raise the bar. Note that in the subsequent 5.x releases we could raise it up again, but not down. For your reference, please, check C++ standard compliance status in different mainstream compilers (scroll to the bottom to see C++14 and C++17 support status): https://en.cppreference.com/w/cpp/compiler_support
173 votes ·
Beta Was this translation helpful? Give feedback.
All reactions