diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-07 13:45:59 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-10 15:04:05 +0100 |
commit | f93e4cdb371aa01ac157ce1a79e392ceb0108dad (patch) | |
tree | 0aac19376f33276ef8f726c538ed9b2410ec4722 /src/utils/cpp | |
parent | 0cef4facae7bd3d2345c8f099b0382168b0c2a63 (diff) | |
download | justbuild-f93e4cdb371aa01ac157ce1a79e392ceb0108dad.tar.gz |
utils atomic: Update link to libcxx C++20 adoption page
Diffstat (limited to 'src/utils/cpp')
-rw-r--r-- | src/utils/cpp/atomic.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/cpp/atomic.hpp b/src/utils/cpp/atomic.hpp index 179e7f7a..879c2397 100644 --- a/src/utils/cpp/atomic.hpp +++ b/src/utils/cpp/atomic.hpp @@ -26,7 +26,7 @@ // Atomic wrapper with notify/wait capabilities. // TODO(modernize): Replace any use this class by C++20's std::atomic<T>, once // libcxx adds support for notify_*() and wait(). -// [https://libcxx.llvm.org/docs/Cxx2aStatus.html] +// [https://libcxx.llvm.org/Status/Cxx20.html] template <class T> class atomic { // NOLINT(readability-identifier-naming) public: @@ -97,7 +97,7 @@ class atomic { // NOLINT(readability-identifier-naming) // Atomic shared_pointer with notify/wait capabilities. // TODO(modernize): Replace any use this class by C++20's // std::atomic<std::shared_ptr<T>>, once libcxx adds support for it. -// [https://libcxx.llvm.org/docs/Cxx2aStatus.html] +// [https://libcxx.llvm.org/Status/Cxx20.html] template <class T> class atomic_shared_ptr { // NOLINT(readability-identifier-naming) using ptr_t = std::shared_ptr<T>; |