- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# C:/Musimathics_local/Musimat/include/CList.h File Reference

The basic List class template. More...

`#include <assert.h>`
`#include <memory.h>`
`#include <iostream>`

## Namespaces
namespace | std
## Classes
class | List< Type >
| The List class template is used to construct all types of lists, Integer, Real, etc. More...
## Functions
template<class Type>
Integer | Length (Type &L)
| Return the length of a list.
template<class Type>
Type | Join (Type &L1, Type &L2)
template<class Type>
Type | Join (Type &L1, Type &L2, Type &L3)
template<class Type>
Type | Join (Type &L1, Type &L2, Type &L3, Type &L4)
template<class Type>
Type | Join (Type &L1, Type &L2, Type &L3, Type &L4, Type &L5)
template<class Type>
Type | Join (Type &L1, Type &L2, Type &L3, Type &L4, Type &L5, Type &L6)
template<class Type>
Type | Join (Type &L1, Type &L2, Type &L3, Type &L4, Type &L5, Type &L6, Type &L7)
template<class TargetListType, class ElementType, class ListType>
TargetListType | Map (ListType L, ElementType(*fn)(ElementType))

## Detailed Description

The basic List class template.

## Function Documentation

template<class Type>

template< class Type > Integer Length | ( | Type & | L | ) | `[inline]`

Return the length of a list.

template<class TargetListType, class ElementType, class ListType>

TargetListType Map | ( | ListType | L,
|  | ElementType(*)(ElementType) | fn |
| ) |  |  |