max_accumulator< T > Struct Template Reference

#include <accum.hh>

Inheritance diagram for max_accumulator< T >:

Inheritance graph
[legend]
Collaboration diagram for max_accumulator< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 max_accumulator (T t)
void operator() (T t)
 operator T () const

Detailed Description

template<class T>
struct max_accumulator< T >

This is a functor. It saves the maximum T value that has been passed as an argument of its operator() method. To retrieve the value saved, just use the max_accumulator as a T instance.

Definition at line 41 of file accum.hh.


The documentation for this struct was generated from the following file:
Generated on Thu Apr 15 20:13:45 2004 for Olena by doxygen 1.3.6-20040222