Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
test-splice.C File Reference
#include <iostream>
#include <tpl_dnode.H>
Include dependency graph for test-splice.C:

Go to the source code of this file.

Typedefs

using Node = Dnode< long >
 

Functions

Node * create_list_with_header (size_t n)
 
Node * create_list_without_header (size_t n)
 
Node * access (Node *list, size_t n)
 
ostream & operator<< (ostream &out, Node *p)
 
int main (int argc, char *argv[])
 

Variables

static long counter = 0
 

Typedef Documentation

◆ Node

using Node = Dnode<long>

Definition at line 38 of file test-splice.C.

Function Documentation

◆ access()

Node * access ( Node *  list,
size_t  n 
)

Definition at line 59 of file test-splice.C.

Referenced by main(), main(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().

◆ create_list_with_header()

Node * create_list_with_header ( size_t  n)

Definition at line 42 of file test-splice.C.

References Aleph::Dlink::append(), and counter.

Referenced by main().

◆ create_list_without_header()

Node * create_list_without_header ( size_t  n)

Definition at line 51 of file test-splice.C.

References counter.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ operator<<()

ostream & operator<< ( ostream &  out,
Node *  p 
)

Definition at line 67 of file test-splice.C.

References out.

Variable Documentation

◆ counter