64int main(
int argc,
char * argv[])
81 cerr <<
"Error: n must be a positive integer." << endl;
87 for (
int i = 0; i < n; ++i)
94 for (
int i = 0; i < n; ++i)
101 cout <<
"Lista de " << sz <<
" elementos partida en dos" << endl;
132 cout <<
"****************" << endl;
136 for (
int i = 0; i < n; ++i)
143 cout <<
"Mostrando todos los elementos .. " << endl;
Iterator on the items of list.
Doubly-linked list (defined in tpl_dynList.H).
void remove_all_and_delete() noexcept
Delete all the items, as empty() does.
T & append(const T &item)
T & insert(const T &item)
DynList & reverse() noexcept
Generic filter iterator wrapper.
Slinknc * get_curr() const
bool has_curr() const noexcept
Single linked list of nodes.
void remove_all_and_delete() noexcept
size_t reverse() noexcept
It inverts all list elements. It returns list size.
void cut(Slinknc *link, HTList &list) noexcept
It cuts 'this' over 'link' element and it puts all.
constexpr bool is_empty() const noexcept
void append(Slinknc *link) noexcept
size_t split_list(HTList &l, HTList &r) noexcept
It divides 'this' into two equal lists without modifying.
void insert(Slinknc *link) noexcept
T & get_data() noexcept
Return a modifiable reference to the data.
Generic filter iterator wrapper for Aleph containers.
Singly linked list implementations with head-tail access.
Main namespace for Aleph-w library functions.
and
Check uniqueness with explicit hash + equality functors.
bool operator()(int i) const
Filter_Iterator< DynList< int >, DynList< int >::Iterator, Par > It