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::containers::internal::BasicInlineDequeImpl< ValueType, CountAndCapacityType, kCapacity > Class Template Reference
Inheritance diagram for pw::containers::internal::BasicInlineDequeImpl< ValueType, CountAndCapacityType, kCapacity >:

Public Member Functions

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

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ BasicInlineDequeImpl()

template<typename ValueType , typename CountAndCapacityType , size_t kCapacity>
template<size_t kOtherCapacity>
pw::containers::internal::BasicInlineDequeImpl< ValueType, CountAndCapacityType, kCapacity >::BasicInlineDequeImpl ( const BasicInlineDequeImpl< ValueType, CountAndCapacityType, 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 CountAndCapacityType , size_t kCapacity>
template<size_t kOtherCapacity>
BasicInlineDequeImpl & pw::containers::internal::BasicInlineDequeImpl< ValueType, CountAndCapacityType, kCapacity >::operator= ( const BasicInlineDequeImpl< ValueType, CountAndCapacityType, 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: