PPL Logo

xi::details::perElemC< T, U > Class Template Reference

Apply fn_ on each non-NULL element in the list l. More...

#include <xi-AstNode.h>

Collaboration diagram for xi::details::perElemC< T, U >:

Collaboration graph
[legend]

Public Member Functions

 perElemC (list< T * > &l, void(U::*fn_)())
void operator() (T *m)

Private Attributes

void(U::* fn )()

Detailed Description

template<typename T, typename U>
class xi::details::perElemC< T, U >

Apply fn_ on each non-NULL element in the list l.

If between_ is passed, do that between each element.

Definition at line 214 of file xi-AstNode.h.


Constructor & Destructor Documentation

template<typename T, typename U>
xi::details::perElemC< T, U >::perElemC ( list< T * > &  l,
void(U::*)()  fn_ 
) [inline]

Definition at line 218 of file xi-AstNode.h.


Member Function Documentation

template<typename T, typename U>
void xi::details::perElemC< T, U >::operator() ( T *  m  )  [inline]

Definition at line 221 of file xi-AstNode.h.


Field Documentation

template<typename T, typename U>
void(U::* xi::details::perElemC< T, U >::fn)() [private]


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

Generated on Mon Sep 21 08:36:04 2020 for Charm++ by  doxygen 1.5.5