91 return next ==
nullptr;
180 return curr !=
nullptr;
Exception handling system with formatted messages for Aleph-w.
#define ah_overflow_error_if(C)
Throws std::overflow_error if condition holds.
#define ah_invalid_argument_if(C)
Throws std::invalid_argument if condition holds.
Core header for the Aleph-w library.
bool verify(Slink_Nc *l) const
Iterator(Slink_Nc *head_ptr)
bool operator==(const Iterator &it) const
Retorna true si iteradores están sobre el mismo elemento.
bool verify(const Iterator &it) const
Iterator(Slink_Nc &_head)
void reset_first()
Reinicia iterador a primer nodo de la lista.
void next_ne() noexcept
Avanza iterador en una posición.
Iterator(Slink_Nc *head_ptr, Slink_Nc *curr_ptr)
Slink_Nc * get_curr_ne() noexcept
Retorna dirección de nodo actual.
bool operator!=(const Iterator &it) const
retorna true si iteradores tienen estados diferentes.
void set(Slink_Nc *new_curr)
bool is_in_first() const
Retorna true si iterador está sobre primer elemento.
void reset(Slink_Nc *new_head)
Enlace simple a lista de nodos no circular.
void reset()
Reinicia enlace a que apunte a nullptr.
Slink_Nc()
Constructor vacío.
Slink_Nc & operator=(const Slink_Nc &link)
Asignación; coloca enlace a que apunte a nullptr.
bool is_empty() const
Retorna true si this está vacío (apunta a nullptr)
Slink_Nc * remove_next()
Elimina el enlace siguiente a this.
Slink_Nc *& get_next()
Retorna el siguiente enlace.
void insert(Slink_Nc *p)
Inserta en enlace p después de this.
Slink_Nc(const Slink_Nc &)
Constructor copia; coloca enlace a que apunte a nullptr.
Main namespace for Aleph-w library functions.
DynList< T > maps(const C &c, Op op)
Classic map operation.