43template <
class T,
class Alloc = std::allocator < T > >
44class deque :
public std::deque < T, Alloc > {
49 using std::deque < T, Alloc >::deque;
54 using std::deque < T, Alloc >::operator =;
90 template <
class Iterator >
121 return make_move_iterator ( this->
begin ( ) );
151 return make_move_iterator ( this->
end ( ) );
161 auto endIter =
end ( );
162 auto beginIter =
begin ( );
173 auto endIter =
end ( );
174 auto beginIter =
begin ( );
185 auto endIter = std::move ( * this ).end ( );
186 auto beginIter = std::move ( * this ).begin ( );
203template <
class T,
class ... Ts >
209 for (
const T & item :
list ) {
210 if ( !first ) out <<
", ";
Class extending the deque class from the standard library. Original reason is to allow printing of th...
Definition: deque.hpp:44
auto range() &
Make range of non-const begin to end iterators.
Definition: deque.hpp:160
deque(const deque &other)=default
deque & operator=(deque &&other)=default
auto range() &&
Make range of move begin to end iterators.
Definition: deque.hpp:184
auto begin() &
Inherited behavior of begin for non-const instance.
Definition: deque.hpp:100
auto begin() &&
Inherited behavior of begin for rvalues.
Definition: deque.hpp:120
auto begin() const &
Inherited behavior of begin for const instance.
Definition: deque.hpp:110
deque(const ext::iterator_range< Iterator > &range)
Definition: deque.hpp:91
auto end() &&
Inherited behavior of end for rvalues.
Definition: deque.hpp:150
auto end() &
Inherited behavior of end for non-const instance.
Definition: deque.hpp:130
auto end() const &
Inherited behavior of end for const instance.
Definition: deque.hpp:140
deque(deque &&other)=default
auto range() const &
Make range of non-const begin to end iterators.
Definition: deque.hpp:172
Implementation of iterator_range, i.e. pair of iterators. The class provides most notably begin and e...
Definition: range.hpp:24
Class extending the list class from the standard library. Original reason is to allow printing of the...
Definition: list.hpp:44
Definition: sigHandler.cpp:20
std::ostream & operator<<(ext::reference_wrapper< std::ostream > &os, std::ostream &(*const func)(std::ostream &))
Overloaded function allowing same operations on wrapped output stream as on the actual output stream,...
Definition: GlobalData.cpp:33
auto begin(Container &&cont) -> decltype(std::forward(cont).begin())
Definition: iterator.hpp:900
void end()
Definition: measurements.cpp:19