@@ -129,15 +129,15 @@ inline Link CLASS::top(const Link& index) const NOEXCEPT
129129 if (is_null (raw))
130130 return {};
131131
132- if constexpr (Align)
133- {
134- // Reads full padded word.
135- // xcode clang++16 does not support C++20 std::atomic_ref.
136- // //const std::atomic_ref<integer> head(unsafe_byte_cast<integer>(raw));
137- const auto & head = *pointer_cast<std::atomic<integer>>(raw);
138- return head.load (std::memory_order_acquire);
139- }
140- else
132+ // // if constexpr (Align)
133+ // // {
134+ // // // Reads full padded word.
135+ // // // xcode clang++16 does not support C++20 std::atomic_ref.
136+ // // ////const std::atomic_ref<integer> head(unsafe_byte_cast<integer>(raw));
137+ // // const auto& head = *pointer_cast<std::atomic<integer>>(raw);
138+ // // return head.load(std::memory_order_acquire);
139+ // // }
140+ // // else
141141 {
142142 const auto & head = to_array<size_>(raw);
143143 mutex_.lock_shared ();
@@ -163,15 +163,15 @@ inline bool CLASS::push(const Link& current, bytes& next,
163163 if (is_null (raw))
164164 return false ;
165165
166- if constexpr (Align)
167- {
168- // Writes full padded word (0x00 fill).
169- // xcode clang++16 does not support C++20 std::atomic_ref.
170- // //const std::atomic_ref<integer> head(unsafe_byte_cast<integer>(raw));
171- auto & head = *pointer_cast<std::atomic<integer>>(raw);
172- next = Link (head.exchange (current, std::memory_order_acq_rel));
173- }
174- else
166+ // // if constexpr (Align)
167+ // // {
168+ // // // Writes full padded word (0x00 fill).
169+ // // // xcode clang++16 does not support C++20 std::atomic_ref.
170+ // // ////const std::atomic_ref<integer> head(unsafe_byte_cast<integer>(raw));
171+ // // auto& head = *pointer_cast<std::atomic<integer>>(raw);
172+ // // next = Link(head.exchange(current, std::memory_order_acq_rel));
173+ // // }
174+ // // else
175175 {
176176 auto & head = to_array<size_>(raw);
177177 mutex_.lock ();
0 commit comments