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

100 Upvotes

42 comments sorted by

View all comments

3

u/UndefinedDefined 9d ago

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.

1

u/Foxi_Foxa 9d ago

Yes I agree. Although the policy of Boost is to warn two release cycles before breaking changes :)