Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
sorted_list< T, K, C > Class Template Reference

#include <elm/imm/sorted_list.h>

+ Inheritance diagram for sorted_list< T, K, C >:

Public Member Functions

bool contains (const typename K::t &k) const
 
- Public Member Functions inherited from list< T >
 list (void)
 
 list (const list< T > &l)
 
list< T > & operator= (list< T > l)
 
const T & hd (void) const
 
list< T > tl (void) const
 
const T & operator* (void) const
 
bool isEmpty (void) const
 
 operator bool (void) const
 
int length (void) const
 
bool contains (const T &v)
 
bool equals (list< T > l) const
 
bool operator== (list< T > l) const
 
bool operator!= (list< T > l) const
 
list< T > concat (list< T > l)
 
list< T > remove (const T &h)
 

Additional Inherited Members

- Static Public Member Functions inherited from list< T >
static void add (Collector &coll)
 
static void remove (Collector &coll)
 
static list< T > cons (const T &h, list< T > t)
 
- Static Public Attributes inherited from list< T >
static list< T > null
 

Member Function Documentation

◆ contains()

bool contains ( const typename K::t &  k) const
inline

References list< T >::hd(), and list< T >::tl().


The documentation for this class was generated from the following file: