cpp-hocon 0.3.0
Loading...
Searching...
No Matches
Classes | Public Member Functions | Friends | List of all members
List< T > Class Template Reference

Public Member Functions

 List (T v, List const &tail)
 
 List (T v)
 
bool isEmpty () const
 
front () const
 
List popped_front () const
 
List pushed_front (T v) const
 
List take (int n)
 
List insertedAt (int i, T v) const
 
List removed (T v) const
 
List removed1 (T v) const
 
bool member (T v) const
 
template<class F >
void forEach (F f) const
 
int headCount () const
 

Friends

class FwdListIter< T >
 

Detailed Description

template<class T>
class List< T >

Definition at line 13 of file functional_list.hpp.

Constructor & Destructor Documentation

◆ List() [1/3]

template<class T >
List< T >::List ( )
inline

Definition at line 31 of file functional_list.hpp.

◆ List() [2/3]

template<class T >
List< T >::List ( v,
List< T > const &  tail 
)
inline

Definition at line 33 of file functional_list.hpp.

◆ List() [3/3]

template<class T >
List< T >::List ( v)
inlineexplicit

Definition at line 36 of file functional_list.hpp.

Member Function Documentation

◆ forEach()

template<class T >
template<class F >
void List< T >::forEach ( f) const
inline

Definition at line 89 of file functional_list.hpp.

◆ front()

template<class T >
T List< T >::front ( ) const
inline

Definition at line 39 of file functional_list.hpp.

◆ headCount()

template<class T >
int List< T >::headCount ( ) const
inline

Definition at line 101 of file functional_list.hpp.

◆ insertedAt()

template<class T >
List List< T >::insertedAt ( int  i,
v 
) const
inline

Definition at line 59 of file functional_list.hpp.

◆ isEmpty()

template<class T >
bool List< T >::isEmpty ( ) const
inline

Definition at line 38 of file functional_list.hpp.

◆ member()

template<class T >
bool List< T >::member ( v) const
inline

Definition at line 82 of file functional_list.hpp.

◆ popped_front()

template<class T >
List List< T >::popped_front ( ) const
inline

Definition at line 44 of file functional_list.hpp.

◆ pushed_front()

template<class T >
List List< T >::pushed_front ( v) const
inline

Definition at line 50 of file functional_list.hpp.

◆ removed()

template<class T >
List List< T >::removed ( v) const
inline

Definition at line 68 of file functional_list.hpp.

◆ removed1()

template<class T >
List List< T >::removed1 ( v) const
inline

Definition at line 75 of file functional_list.hpp.

◆ take()

template<class T >
List List< T >::take ( int  n)
inline

Definition at line 54 of file functional_list.hpp.

Friends And Related Function Documentation

◆ FwdListIter< T >

template<class T >
friend class FwdListIter< T >
friend

Definition at line 89 of file functional_list.hpp.


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