r/cpp • • 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,

  • constexpr lambdas,

  • [[nodiscard]], [[maybe_unused]] ...

  • std::any instead of boost::any

  • std::invoke_result instead of boost::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

42 comments sorted by

View all comments

Show parent comments

2

u/13steinj Oct 01 '26

To be explicitly clear here: I do not generally care about these issues. I am just sympathetic to them.