This topic created in 4092 days ago, the information mentioned may be changed or developed.
I got this on XCode 6:
No matching member function for call to 'compare_exchange_weak'
updateSucc = this->producerIndex_.compare_exchange_weak(
original, updated,
std::memory_order_release,
std::memory_order_relaxed);
 |
|
1
noli Feb 12, 2015
找到原因了……低级失误…… original 和 updated 是 const 的,然后就……呵呵了
|