Project Alice
|
#include <SPSCQueue.h>
Public Member Functions | |
SPSCQueue (const size_t capacity, const Allocator &allocator=Allocator()) | |
~SPSCQueue () | |
SPSCQueue (const SPSCQueue &)=delete | |
SPSCQueue & | operator= (const SPSCQueue &)=delete |
template<typename... Args> | |
void | emplace (Args &&...args) noexcept(std::is_nothrow_constructible< T, Args &&... >::value) |
template<typename... Args> | |
RIGTORP_NODISCARD bool | try_emplace (Args &&...args) noexcept(std::is_nothrow_constructible< T, Args &&... >::value) |
void | push (const T &v) noexcept(std::is_nothrow_copy_constructible< T >::value) |
template<typename P , typename = typename std::enable_if< std::is_constructible<T, P &&>::value>::type> | |
void | push (P &&v) noexcept(std::is_nothrow_constructible< T, P && >::value) |
RIGTORP_NODISCARD bool | try_push (const T &v) noexcept(std::is_nothrow_copy_constructible< T >::value) |
template<typename P , typename = typename std::enable_if< std::is_constructible<T, P &&>::value>::type> | |
RIGTORP_NODISCARD bool | try_push (P &&v) noexcept(std::is_nothrow_constructible< T, P && >::value) |
RIGTORP_NODISCARD T * | front () noexcept |
void | pop () noexcept |
RIGTORP_NODISCARD size_t | size () const noexcept |
RIGTORP_NODISCARD bool | empty () const noexcept |
RIGTORP_NODISCARD size_t | capacity () const noexcept |
Definition at line 44 of file SPSCQueue.h.
|
inlineexplicit |
Definition at line 58 of file SPSCQueue.h.
|
inline |
Definition at line 92 of file SPSCQueue.h.
|
delete |
|
inlinenoexcept |
Definition at line 207 of file SPSCQueue.h.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 202 of file SPSCQueue.h.
|
inlinenoexcept |
|
delete |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 193 of file SPSCQueue.h.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 155 of file SPSCQueue.h.
|
inlinenoexcept |