Pigweed
 
Loading...
Searching...
No Matches
pw::BasicInlineQueue< ValueType, SizeType, kCapacity > Class Template Reference

Public Types

using const_iterator = typename Deque::const_iterator
 
using const_pointer = typename Deque::const_pointer
 
using const_reference = typename Deque::const_reference
 
using difference_type = typename Deque::difference_type
 
using iterator = typename Deque::iterator
 
using pointer = typename Deque::pointer
 
using reference = typename Deque::reference
 
using size_type = typename Deque::size_type
 
using value_type = typename Deque::value_type
 

Public Member Functions

constexpr BasicInlineQueue (ConstexprTag constexpr_tag) noexcept
 
 BasicInlineQueue (size_type count, const_reference value)
 
 BasicInlineQueue (size_type count)
 
template<typename InputIterator , typename = containers::internal::EnableIfInputIterator<InputIterator>>
 BasicInlineQueue (InputIterator start, InputIterator finish)
 
 BasicInlineQueue (const std::initializer_list< value_type > &list)
 
 BasicInlineQueue (const BasicInlineQueue &other)
 Copy constructs for matching capacity.
 
template<size_t kOtherCapacity>
 BasicInlineQueue (const BasicInlineQueue< ValueType, SizeType, kOtherCapacity > &other)
 
 BasicInlineQueue (BasicInlineQueue &&other)
 Move constructs for matching capacity.
 
template<size_t kOtherCapacity>
 BasicInlineQueue (BasicInlineQueue< ValueType, SizeType, kOtherCapacity > &&other)
 
template<typename T , typename = containers::internal::EnableIfIterable<T>>
 BasicInlineQueue (const T &other)
 
BasicInlineQueueoperator= (const std::initializer_list< value_type > &list)
 
BasicInlineQueueoperator= (const BasicInlineQueue &other)
 Copy assigns from matching capacity.
 
template<size_t kOtherCapacity>
BasicInlineQueueoperator= (const BasicInlineQueue< ValueType, SizeType, kOtherCapacity > &other)
 
BasicInlineQueueoperator= (BasicInlineQueue &&other)
 Move assigns from matching capacity.
 
template<size_t kOtherCapacity>
BasicInlineQueueoperator= (BasicInlineQueue< ValueType, SizeType, kOtherCapacity > &&other)
 
template<typename T , typename = containers::internal::EnableIfIterable<T>>
BasicInlineQueueoperator= (const T &other)
 

Static Public Member Functions

static constexpr size_type max_size ()
 
static constexpr size_type capacity ()
 

Constructor & Destructor Documentation

◆ BasicInlineQueue() [1/2]

template<typename ValueType , typename SizeType , size_t kCapacity = containers::internal::kGenericSized>
template<size_t kOtherCapacity>
pw::BasicInlineQueue< ValueType, SizeType, kCapacity >::BasicInlineQueue ( const BasicInlineQueue< ValueType, SizeType, kOtherCapacity > &  other)
inline

Copy constructs for mismatched capacity.

Note that this will result in a crash if kOtherCapacity < size().

◆ BasicInlineQueue() [2/2]

template<typename ValueType , typename SizeType , size_t kCapacity = containers::internal::kGenericSized>
template<size_t kOtherCapacity>
pw::BasicInlineQueue< ValueType, SizeType, kCapacity >::BasicInlineQueue ( BasicInlineQueue< ValueType, SizeType, kOtherCapacity > &&  other)
inline

Move constructs for mismatched capacity.

Note that this will result in a crash if kOtherCapacity < size().

Member Function Documentation

◆ operator=() [1/2]

template<typename ValueType , typename SizeType , size_t kCapacity = containers::internal::kGenericSized>
template<size_t kOtherCapacity>
BasicInlineQueue & pw::BasicInlineQueue< ValueType, SizeType, kCapacity >::operator= ( BasicInlineQueue< ValueType, SizeType, kOtherCapacity > &&  other)
inline

Move assigns from mismatched capacity.

Note that this will result in a crash if kOtherCapacity < size().

◆ operator=() [2/2]

template<typename ValueType , typename SizeType , size_t kCapacity = containers::internal::kGenericSized>
template<size_t kOtherCapacity>
BasicInlineQueue & pw::BasicInlineQueue< ValueType, SizeType, kCapacity >::operator= ( const BasicInlineQueue< ValueType, SizeType, kOtherCapacity > &  other)
inline

Copy assigns from mismatched capacity.

Note that this will result in a crash if kOtherCapacity < size().


The documentation for this class was generated from the following file: