Reputation: 1986
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
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