Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
Classes | |
class | AbstractTree |
class | GenTree |
class | Map |
class | Set |
class | Tree |
Functions | |
template<class K , class C > | |
Set< K, C > & | operator+= (Set< K, C > &t, const K &h) |
template<class K , class C > | |
Set< K, C > & | operator+= (Set< K, C > &t, const Set< K, C > &s) |
static int | abs (int x) |
static void | dump (Tree::Node *node, int tab=0) |
|
static |
|
static |
Replace a child from a parent, depending the child to remove.
parent | Parent to remove a child from. |
old | Old child to replace. |
_new | New child for replacement. |
References elm::avl::Tree::Node::_left(), elm::avl::Tree::Node::_right(), elm::cout, and elm::io::endl.
Set<K, C>& elm::avl::operator+= | ( | Set< K, C > & | t, |
const K & | h | ||
) |
References elm::avl::Set< T, C >::add().
Set<K, C>& elm::avl::operator+= | ( | Set< K, C > & | t, |
const Set< K, C > & | s | ||
) |
References elm::avl::Set< T, C >::addAll().