Étienne Mollier pushed to branch upstream at Debian Med / libatomic-queue
Commits: fdbd5fa4 by Étienne Mollier at 2024-10-02T21:00:45+02:00 New upstream version 1.6.5 - - - - - 3 changed files: - CONTRIBUTORS.txt - README.md - include/atomic_queue/atomic_queue.h Changes: ===================================== CONTRIBUTORS.txt ===================================== @@ -16,3 +16,5 @@ Contributors: - RedSkittleFox (https://github.com/max0x7ba/atomic_queue/pull/61) - RedSkittleFox (https://github.com/max0x7ba/atomic_queue/pull/62) - Yvan (https://github.com/max0x7ba/atomic_queue/pull/63) +- Luiz Feldmann (https://github.com/max0x7ba/atomic_queue/pull/72) +- dummyunit (https://github.com/max0x7ba/atomic_queue/pull/73) ===================================== README.md ===================================== @@ -2,6 +2,9 @@ [](https://github.com/max0x7ba/atomic_queue/blob/master/LICENSE)  <br> +[](https://conan.io/center/recipes/atomic_queue) + +<br> [](https://github.com/max0x7ba/atomic_queue/actions/workflows/ci.yml) [](https://github.com/max0x7ba/atomic_queue/actions/workflows/cmake-gcc-clang.yml) <br> @@ -79,6 +82,10 @@ git clone https://github.com/max0x7ba/atomic_queue.git vcpkg install atomic-queue ``` +## Install using conan +Follow the official tutorial on [how to consume conan packages](https://docs.conan.io/2/tutorial/consuming_packages.html). +Details specific to this library are available in [ConanCenter](https://conan.io/center/recipes/atomic_queue). + ## Benchmark build and run instructions The containers provided are header-only class templates that require only `#include <atomic_queue/atomic_queue.h>`, no building/installing is necessary. ===================================== include/atomic_queue/atomic_queue.h ===================================== @@ -404,13 +404,13 @@ class AtomicQueue2 : public AtomicQueueCommon<AtomicQueue2<T, SIZE, MINIMIZE_CON T do_pop(unsigned tail) noexcept { unsigned index = details::remap_index<SHUFFLE_BITS>(tail % size_); - return Base::template do_pop_any(states_[index], elements_[index]); + return Base::do_pop_any(states_[index], elements_[index]); } template<class U> void do_push(U&& element, unsigned head) noexcept { unsigned index = details::remap_index<SHUFFLE_BITS>(head % size_); - Base::template do_push_any(std::forward<U>(element), states_[index], elements_[index]); + Base::do_push_any(std::forward<U>(element), states_[index], elements_[index]); } public: @@ -535,13 +535,13 @@ class AtomicQueueB2 : private std::allocator_traits<A>::template rebind_alloc<un T do_pop(unsigned tail) noexcept { unsigned index = details::remap_index<SHUFFLE_BITS>(tail & (size_ - 1)); - return Base::template do_pop_any(states_[index], elements_[index]); + return Base::do_pop_any(states_[index], elements_[index]); } template<class U> void do_push(U&& element, unsigned head) noexcept { unsigned index = details::remap_index<SHUFFLE_BITS>(head & (size_ - 1)); - Base::template do_push_any(std::forward<U>(element), states_[index], elements_[index]); + Base::do_push_any(std::forward<U>(element), states_[index], elements_[index]); } template<class U> View it on GitLab: https://salsa.debian.org/med-team/libatomic-queue/-/commit/fdbd5fa4a8464496ee27afbe30a265f1a072505e -- View it on GitLab: https://salsa.debian.org/med-team/libatomic-queue/-/commit/fdbd5fa4a8464496ee27afbe30a265f1a072505e You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
