XWX
XWX

Reputation: 1986

g++10 get the c++20 removed features back?

I'd like to compile my project along with grpc using c++20. The problem is grpc have a dependency on abseil-cpp. And abseil-cpp failed to compile because it uses some features removed from c++20, like std::result_of and member typedefs of std::allocator. When compiled under MSVC, its easy to get those features back. But I also need to compile it on linux.

Upvotes: 0

Views: 236

Answers (1)

Caleth
Caleth

Reputation: 62799

It looks like C++20 support is underway, e.g. removing result_of and uses of allocator have been fixed if you build in C++20 mode.

I would suggest waiting for grpc / abseil to be updated, perhaps applying those fixes yourself in the mean time.

Upvotes: 2

Related Questions