r/cpp • u/Foxi_Foxa • Sep 29 '26
Boost.Graph 1.95 will be C++17
Dear Boost.Graph community,
In two release cycles (Boost release 1.95 in summer 2027) Boost.Graph will be bumped to C++17 😄
This decision follows two polls that did not surface any C++14 user base or demand while identifiying users stuck in C++17:
This standard version bump will bring benefits for maintenance, API and dependencies reduction:
if constexpr,constexprlambdas,[[nodiscard]],[[maybe_unused]]...std::anyinstead ofboost::anystd::invoke_resultinstead ofboost::result_of...
We will not be able to guarantee backward compatibility with C++14. Please contact us if you are stuck in C++14.
The GIthub Discussion lives here: https://github.com/boostorg/graph/discussions/613
100
Upvotes
4
u/Liam_Mercier Sep 30 '26
I wonder if there are plans to move to C++20 at some point for concepts, perhaps it would require a lot more rewriting? I tried using concepts in some hobby graph library I wrote and they generally felt good to use, but maybe they become a burden with a larger project.
45
u/vI--_--Iv Sep 29 '26
A quick reminder to anyone "stuck in C++14": it is almost 2027.
2014 was almost 13 years ago.
Just like C++11 and C++98.
Time to move on.
3
u/TheRavagerSw Sep 30 '26
You guys consider creating a standalone version, boost is a terrible dependency to have.
3
u/UndefinedDefined Oct 04 '26
I moved some of my oss projects to C++20 and nobody ever complained. I think compatibility with older C++ standards is overrated. Those who need to use old standard exclusively would just pin library versions to those compatible. Just move to C++17, nobody would notice.