#include <atomic>
#include <cassert>
#include <algorithm>
#include <array>
#include <climits>
#include <cstddef>
#include <cstdint>
#include <cstdlib>
#include <limits>
#include <mutex>
#include <thread>
#include <type_traits>
#include <utility>
|
template<typename U > |
static char * | align_for (char *ptr) |
|
template<typename T > |
static T | ceil_to_pow_2 (T x) |
|
template<typename T > |
static bool | circular_less_than (T a, T b) |
|
template<typename It > |
static auto | deref_noexcept (It &it) noexcept -> decltype(*it) |
|
static size_t | hash_thread_id (thread_id_t id) |
|
static bool() | likely (bool x) |
|
template<typename T > |
static T const & | nomove (T const &x) |
|
template<typename T , typename Traits > |
void | swap (ConcurrentQueue< T, Traits > &a, ConcurrentQueue< T, Traits > &b) noexcept |
|
void | swap (ConsumerToken &a, ConsumerToken &b) noexcept |
|
void | swap (ProducerToken &a, ProducerToken &b) noexcept |
|
template<typename T , typename Traits > |
void | swap (typename ConcurrentQueue< T, Traits >::ImplicitProducerKVP &a, typename ConcurrentQueue< T, Traits >::ImplicitProducerKVP &b) noexcept |
|
template<typename T > |
static void | swap_relaxed (std::atomic< T > &left, std::atomic< T > &right) |
|
thread_id_t | thread_id () |
|
static bool() | unlikely (bool x) |
|
◆ MOODYCAMEL_ALIGNAS
#define MOODYCAMEL_ALIGNAS |
( |
|
alignment | ) |
alignas(alignment) |
◆ MOODYCAMEL_ALIGNED_TYPE_LIKE
#define MOODYCAMEL_ALIGNED_TYPE_LIKE |
( |
|
T, |
|
|
|
obj |
|
) |
| alignas(alignof(obj)) typename details::identity<T>::type |
◆ MOODYCAMEL_ALIGNOF
#define MOODYCAMEL_ALIGNOF |
( |
|
obj | ) |
alignof(obj) |
◆ MOODYCAMEL_CATCH
#define MOODYCAMEL_CATCH |
( |
|
... | ) |
catch (__VA_ARGS__) |
◆ MOODYCAMEL_CONSTEXPR_IF
#define MOODYCAMEL_CONSTEXPR_IF if |
◆ MOODYCAMEL_CPP11_THREAD_LOCAL_SUPPORTED
#define MOODYCAMEL_CPP11_THREAD_LOCAL_SUPPORTED |
◆ MOODYCAMEL_DELETE_FUNCTION
#define MOODYCAMEL_DELETE_FUNCTION = delete |
◆ MOODYCAMEL_EXCEPTIONS_ENABLED
#define MOODYCAMEL_EXCEPTIONS_ENABLED |
◆ MOODYCAMEL_MAYBE_UNUSED
#define MOODYCAMEL_MAYBE_UNUSED |
◆ MOODYCAMEL_NO_TSAN
#define MOODYCAMEL_NO_TSAN |
◆ MOODYCAMEL_NOEXCEPT
#define MOODYCAMEL_NOEXCEPT noexcept |
◆ MOODYCAMEL_NOEXCEPT_ASSIGN
#define MOODYCAMEL_NOEXCEPT_ASSIGN |
( |
|
type, |
|
|
|
valueType, |
|
|
|
expr |
|
) |
| noexcept(expr) |
◆ MOODYCAMEL_NOEXCEPT_CTOR
#define MOODYCAMEL_NOEXCEPT_CTOR |
( |
|
type, |
|
|
|
valueType, |
|
|
|
expr |
|
) |
| noexcept(expr) |
◆ MOODYCAMEL_RETHROW
#define MOODYCAMEL_RETHROW throw |
◆ MOODYCAMEL_THREADLOCAL
#define MOODYCAMEL_THREADLOCAL thread_local |
◆ MOODYCAMEL_THROW
#define MOODYCAMEL_THROW |
( |
|
expr | ) |
throw(expr) |
◆ MOODYCAMEL_TRY
#define MOODYCAMEL_TRY try |