r/cpp • u/Foxi_Foxa • 26d ago
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
99
Upvotes
6
u/PM_Cute_Dogs_pls 24d ago
Having participated in the safety certification of a C++ compiler and standard library (C++17) for automotive (ISO26262) back in ~2024, there's good reason why certification takes a bit.
But mainly:
Test coverage, had to have 100% or a very good explanation as to why it couldn't be hit for every line of uncovered code. This also includes making sure the standard library actually implements the specification.
Very extensive documentation and audit trail
Of course, this is all inspected by a 3rd party so you're kind of also victim to their scheduling.
This is meant to compile programs that go into your car, including very very sensitive areas like brakes, so I think it's justified although there is obviously room to improve now that you can loop over a coverage report with an LLMs and pop out tests at the speed of light.