Pigweed
C/C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
pw::BasicInlineAsyncDeque< ValueType, SizeType, kCapacity > Class Template Reference
Inheritance diagram for pw::BasicInlineAsyncDeque< ValueType, SizeType, kCapacity >:

Public Member Functions

constexpr BasicInlineAsyncDeque () noexcept=default
 Constructs with zero elements.
 
 BasicInlineAsyncDeque (size_type count, const_reference value)
 Constructs with count copies of value.
 
 BasicInlineAsyncDeque (size_type count)
 Constructs with count default-initialized elements.
 
template<typename InputIterator , typename = containers::internal::EnableIfInputIterator<InputIterator>>
 BasicInlineAsyncDeque (InputIterator start, InputIterator finish)
 Copy constructs from an iterator.
 
 BasicInlineAsyncDeque (const BasicInlineAsyncDeque &other)
 Copy constructs for matching capacity.
 
template<size_t kOtherCapacity>
 BasicInlineAsyncDeque (const BasicInlineAsyncDeque< ValueType, SizeType, kOtherCapacity > &other)
 
 BasicInlineAsyncDeque (BasicInlineAsyncDeque &&other) noexcept
 Move constructs for matching capacity.
 
template<size_t kOtherCapacity>
 BasicInlineAsyncDeque (BasicInlineAsyncDeque< ValueType, SizeType, kOtherCapacity > &&other) noexcept
 Move constructs for mismatched capacity.
 
 BasicInlineAsyncDeque (const std::initializer_list< value_type > &list)
 Copy constructs from an initializer list.
 
template<typename T , typename = containers::internal::EnableIfIterable<T>>
 BasicInlineAsyncDeque (const T &other)
 Copy constructor for arbitrary iterables.
 
BasicInlineAsyncDequeoperator= (const std::initializer_list< value_type > &list)
 Copy assigns from list.
 
BasicInlineAsyncDequeoperator= (const BasicInlineAsyncDeque &other)
 Copy assigns for matching capacity.
 
template<size_t kOtherCapacity>
BasicInlineAsyncDequeoperator= (const BasicInlineAsyncDeque< ValueType, SizeType, kOtherCapacity > &other)
 
BasicInlineAsyncDequeoperator= (BasicInlineAsyncDeque &&other) noexcept
 Move assigns for matching capacity.
 
template<size_t kOtherCapacity>
BasicInlineAsyncDequeoperator= (BasicInlineAsyncDeque< ValueType, SizeType, kOtherCapacity > &&other) noexcept
 Move assigns for mismatched capacity.
 

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ BasicInlineAsyncDeque()

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

Copy constructs for mismatched capacity.

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

Member Function Documentation

◆ operator=()

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

Copy assigns for mismatched capacity.

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


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