Summary
This episode continues Jason's exploration of lesser-known C++17 features, focusing on std::shared_mutex and mathematical special functions. Jason notes that shared_mutex provides a straightforward reader-writer lock mechanism that has long existed in other libraries like Boost and Qt but only now appears in the C++ standard library. He also highlights the extensive collection of mathematical special functions added to C++17, providing various overloads to handle different numeric types with appropriate precision.
Related C++ Standard Sections
This episode covers topics found in these sections of the C++ standard:
-
[thread.sharedmutex.class]76% match -
[thread.mutex.class]75% match -
[thread.lock.shared]74% match -
[thread.lock.unique]73% match -
[thread.mutex]64% match -
[thread.lock]40% match