C-Breeze
C Compiler Infrastructure

[ Project home page]

visitor.h File Reference

Go to the source code of this file.

Functions

template<class T>
void list_visitor (list< T > &l, Visitor *the_visitor)
 Invoke a given visiter on every element of a list.


Function Documentation

template<class T>
void list_visitor list< T > &  l,
Visitor the_visitor
 

Invoke a given visiter on every element of a list.

Parameters:
the_visiter The visiter which should be invoked on every element of the list.
l The list on which to invoke the Visiter. This list should contain only Nodes or subclasses of Node.

Definition at line 296 of file visitor.h.


Generated on February 1, 2006
Back to the C-Breeze home page