[EXPERIMENTAL] Drop C++11 and C++14 support - #6124
Conversation
|
A few notes:
|
Sounds best to me, too.
I agree. But there is also the aspect that dropping C++11 and C++14 unshackles future developments. We're already at 9 years plus 17, it seems like a very long wait already. We could maintain 3.1.x (still C++11) for a couple more years, probably the effort for that will be less than what we'd pay for staying C++11 compatible on the mainline.
Ah, I didn't realize. That would be another argument for actively maintaining 3.1.x until Python 3.11 reaches EOL. |
|
You should ask Claude/Codex to update the Clang-Tidy rules too, a ton of opted out modernize rules can be enabled with this PR. |
| #ifndef PYBIND11_CPP17 | ||
|
|
||
| template <typename T> | ||
| constexpr const char |
There was a problem hiding this comment.
I am more interested in how many complex templates can be removed with if constexpr
|
Also a ton of const strings ref that could be std::string_views now |
Description
EXPERIMENTAL/WIP
(Not Draft only so that the full CI runs.)
Suggested changelog entry: