You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My team recently migrated to C++20, which features std::latch. std::latch has a superset of the feature set of absl::BlockingCounter. I imagine the STL version is inspired or even built by the same engineers that built the Abseil version.
Mirroring the excellent discussion in absl::Span, I was wondering if Abseil should add a similar discussion highlighting the differences and make recommendations (e.g,. C++ < 20 should use absl::BlockingCounter. We recommend C++ >= 20 to to use ).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My team recently migrated to C++20, which features std::latch.
std::latch
has a superset of the feature set of absl::BlockingCounter. I imagine the STL version is inspired or even built by the same engineers that built the Abseil version.Mirroring the excellent discussion in absl::Span, I was wondering if Abseil should add a similar discussion highlighting the differences and make recommendations (e.g,. C++ < 20 should use
absl::BlockingCounter
. We recommend C++ >= 20 to to use ).Beta Was this translation helpful? Give feedback.
All reactions