18 :
inherited{Factory::Deque_Factory<T>::Default () ()}
20 _AssertRepValidType ();
27 _AssertRepValidType ();
29#if !qCompilerAndStdLib_RequiresNotMatchInlineOutOfLineForTemplateClassBeingDefined_Buggy
31 template <IIterableOfTo<T> ITERABLE_OF_ADDABLE>
33 requires (not derived_from<remove_cvref_t<ITERABLE_OF_ADDABLE>, Deque<T>>)
36 this->AddAllToTail (forward<ITERABLE_OF_ADDABLE> (src));
37 _AssertRepValidType ();
44 _AssertRepValidType ();
50 _AssertRepValidType ();
53 template <IInputIterator<T> ITERATOR_OF_ADDABLE>
54 inline Deque<T>::Deque (ITERATOR_OF_ADDABLE&& start, ITERATOR_OF_ADDABLE&& end)
57 this->
AddAllToTail (forward<ITERATOR_OF_ADDABLE> (start), forward<ITERATOR_OF_ADDABLE> (
end));
58 _AssertRepValidType ();
63 _SafeReadWriteRepAccessor<_IRep>{
this}._GetWriteableRep ().AddHead (item);
73 return _SafeReadWriteRepAccessor<_IRep>{
this}._GetWriteableRep ().RemoveTail ();
83 return _SafeReadRepAccessor<_IRep>{
this}._ConstGetRep ().Tail ();
94 _SafeReadRepAccessor<_IRep>{
this};
#define qStroika_Foundation_Debug_AssertionsChecked
The qStroika_Foundation_Debug_AssertionsChecked flag determines if assertions are checked and validat...
#define RequireExpression(c)
typename inherited::value_type value_type
nonvirtual T back() const
nonvirtual value_type RemoveTail()
nonvirtual void AddHead(ArgByValueType< value_type > item)
nonvirtual void push_front(ArgByValueType< value_type > item)
A Queue is a first-in-first-out (FIFO) data structure, where elements are arranged in well-ordered fa...
nonvirtual void AddAllToTail(ITERABLE_OF_ADDABLE &&s)
static constexpr default_sentinel_t end() noexcept
Support for ranged for, and STL syntax in general.